Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey Guys,
I have recently purchased dedicated box for game servers, I just wanted to install bandwidth monitoring software, however i have read comments regarding it as it uses lot of cpu resources. There is another method to monitor bandwidth using iptables. But that article is too complex for me: www.linux.com/archive/articles/50649]Linux.com
I just want to check my overall bandwidth not from any particular ports.
Can anyone help me in teaching commands to do that, as my new to Fedora. I use ssh to control my server.
Subtracting the output from the previous time the command was run will
give you number of bytes received/transmitted in that period. Dividing
by the time period, you will have the bandwidth as well.
First of all thanks a lot for replying me.
I am just wondering I have already downloaded around 5GB of data(approximately) and this is what i get by running the command
RX bytes:24321584 (23.1 MiB) TX bytes:42002829 (40.0 MiB)
otherwise, it might have to do with the fact that yours
is a 32-bit machine (mine is 64-bit). you might have to do
a little research to find the max counter size (e.g. 2^32),
and do the subtraction modulo that number (and run ifconfig
often).
Another possible option is using SNMP. If by chance you have some old hardware lying around, you could install Apache+OpenNMS on it to offload most of the load from your game server. Then all your game server box would have to run is snmpd, which doesn't use alot of resources. This would give you visual graphs of bandwidth usage over time per interface, and if your switch/router/gateway supports SNMP, you could pull bandwidth stats from that too.
Hey
I would like to thanks all of you for replying me.
I am using ifconfig to check my bandwidth and i rebooted my machine thats why it didnt show up the previously downloaded bandwidth.
Once again thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.