Linux Bandwidth Monitor

fizifizi Join Date: 2003-06-18 Member: 17452Members
I run a Fedora Core 1 Linux box at fizi.ca right now and a friend of mine just hooked up a Natural Selection Server so he can beta test his mod 'Capture the Gorge' (Feel free to try it out at fizi.ca). I was wondering if anyone knew a piece of software for linux that could moitor overall bandwidth and bandwidth per specific port. I have to watch out that my ISP dosn't drop a **** on me for uploading too much and the only real thing sending out data would be the NS game server. I'd love to beable to track its bandwidth via the port it runs off of. Any ideas?

Comments

  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    I track my bandwidth off a switch using SNMP and MRTG.
  • fizifizi Join Date: 2003-06-18 Member: 17452Members
    Well, I am running some horrible hubs on my network right now. I eventually plan to get some nice switches but not the kind you can connect to and pull logs from. Is there anything I can run on the server itself to track this?
  • Rabid_MooseRabid_Moose Join Date: 2004-05-02 Member: 28370Members
    Yes.

    There is a tool called HLDS Stats (part of PHLGUI I think). It will monitor your bandwidth usage. I honestly don't have the link anymore, so you'd be best searching for PHLGUI or hlds_stats.

    Basically, it works by repeating the 'stats' command every specified interval. The stats command displays incoming and outcoming bandwidth in k/s. It converts the k/s to kbps (* 8) then stores it. When it has, I believe, an hour of these 5 minute samples it will average them out and graph them using RRDTool. The result is something that looks very similar to MRTG, except its just HLDS server bandwidth usage.

    If you can't find it, let me know, and I'll pull one off of my system for you (if we still have it somewhere).
  • john_sheujohn_sheu Join Date: 2004-02-26 Member: 26917Members
    Well, you could ifconfig every few hours or so and divide by time to get your a rough idea. Though that would give your aggregate bandwidth (upload and download), not anything specific.
  • joevjoev Giving grief... With a smile. Join Date: 2002-07-20 Member: 977Members, Retired Developer, NS1 Playtester, Contributor, Constellation, Reinforced - Shadow
    one word:

    nload

    do a google for it.

    joev.
  • SatertekSatertek Join Date: 2002-12-22 Member: 11372Members, Constellation, Reinforced - Supporter
    <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->

    Thanks joev I've been looking for something like this too.

    /me emerges nload
  • Jim_has_SkillzJim_has_Skillz Join Date: 2003-01-19 Member: 12475Members, Constellation
    Cool, I use bwmon. This one looks better though.
Sign In or Register to comment.