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.
how can we monitor network traffic or throughout on servers ? is it possible to put some large file on server and keep downloading via wget. Wheter this helps. please suggest
how can we monitor network traffic or throughout on servers ? is it possible to put some large file on server and keep downloading via wget. Wheter this helps. please suggest
The normal means is to use a network sniffer. To add to that wget will not give you what you want, you want to monitor traffic, and this means you need an adapter in promiscuous mode which will capture all network packet types. There should be applications you can run to perform network sniffing and it is a matter of filtering unwanted data out, and also setting it up to log and not overflow or rotate the logs.
I don't really understand. Do you want to measure the speed of your network? Or you want to check the ongoing traffic somewhere? (Or something else??)
We have a lot of tools to do both of them, you can look for different solutions on the net. But without details hard to help you.
hi all,
how can we monitor network traffic or throughout on servers ? is it possible to put some large file on server and keep downloading via wget. Wheter this helps. please suggest
...and you have Nagios installed. As others said, your question is too vague. But monitoring bandwidth via SNMP through Nagios is certainly doable, as is using the scripts you wre given in your other post for manual checking. What is your actual goal??
I don't really understand. Do you want to measure the speed of your network? Or you want to check the ongoing traffic somewhere? (Or something else??)
We have a lot of tools to do both of them, you can look for different solutions on the net. But without details hard to help you.
yes i wanted to check ongoing traffic on the server not the speed. something like tcpdump ?
wget is not the right tool for this. Otherwise why don't you try them (iotop, tcpdump, vnstat, whatever)? We don't really know what are you looking for therefore we can't tell you if these tool will provide the required data (for you).
I wanted to monitor the network usage traffic for a host. Is it possible with wget ?
...and...
Quote:
Originally Posted by 1s440
iotop is similar to atop i guess.
...and...
Quote:
Originally Posted by 1s440
yes i wanted to check ongoing traffic on the server not the speed. something like tcpdump ?
Again: you have Nagios installed, along with iperf and have SNMP available. That is fully capable of logging/tracking/alerting on bandwidth usage, and you've been using them for years now.
Further (as you well know), you can write your own plugin using whatever you want for Nagios, iotop is one thing you can use, as is (again) SNMP. And have you read the man pages for iperf or tcpdump, and thought about what they do, and why they aren't good for what you're after?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.