Is there a terminal command that I can run that will...........
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.
Is there a terminal command that I can run that will...........
Hi,
Is there a terminal command that I can run that will give me a readout of the upload and download of my network interface (eth0) every few seconds?
I've been trying to find something like this but can't.
well, I can have several terminals open at once.
The reason I only want terminals is that I have a really low powered box that runs blackbox and runs as an NFS server 24/7. It's too low powered to run KDE or Gnome effectively, so I'd prefer just to run Blackbox and not have any gui's.
I would have thought that there must be a unix command that monitors eth0????
Distribution: thanks mickyg.
However, I'm really looking for a readout that updates every few seconds that tells me the data rate uploaded and downloaded in kB/s
I would have thought that there must be a unix command that monitors eth0????
There are plenty of monitoring programs for Linux - iptraf (as already suggested), dstat, ntop are just some. These are all Linux command line programs.
This seems to give me the total amount downloaded and uploaded.
That's not what I want.
I want the RATE at which things are being downloaded and uploaded.
i.e. kb/s
ethstats does exactly what you are looking for. However you will need to install it..
Here is a example of the output..
Code:
Pinky:~# ethstats
total: 2.87 Mb/s In 0.23 Mb/s Out - 620.0 p/s In 287.0 p/s Out
eth0: 0.23 Mb/s In 0.23 Mb/s Out - 288.0 p/s In 287.0 p/s Out
eth1: 2.65 Mb/s In 0.00 Mb/s Out - 332.0 p/s In 0.0 p/s Out
total: 2.56 Mb/s In 0.25 Mb/s Out - 613.1 p/s In 316.0 p/s Out
eth0: 0.25 Mb/s In 0.25 Mb/s Out - 315.7 p/s In 316.0 p/s Out
eth1: 2.31 Mb/s In 0.00 Mb/s Out - 297.4 p/s In 0.0 p/s Out
total: 2.63 Mb/s In 0.24 Mb/s Out - 607.8 p/s In 304.6 p/s Out
eth0: 0.24 Mb/s In 0.24 Mb/s Out - 305.1 p/s In 304.6 p/s Out
eth1: 2.39 Mb/s In 0.00 Mb/s Out - 302.7 p/s In 0.0 p/s Out
total: 2.86 Mb/s In 0.21 Mb/s Out - 605.2 p/s In 270.4 p/s Out
eth0: 0.21 Mb/s In 0.21 Mb/s Out - 270.7 p/s In 270.4 p/s Out
eth1: 2.65 Mb/s In 0.00 Mb/s Out - 334.5 p/s In 0.0 p/s Out
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.