Help - Search - Members - Calendar
Full Version: Linux Bandwidth Monitor
Unknown Worlds Forums > Natural Selection > Natural Selection Discussion > General Server Discussion > Linux Server Support
fizi
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?
Vadakill
I track my bandwidth off a switch using SNMP and MRTG.
fizi
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_Moose
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_sheu
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.
joev
one word:

nload

do a google for it.

joev.
Satertek
smile.gif

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

/me emerges nload

Jim_has_Skillz
Cool, I use bwmon. This one looks better though.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.