How to list the various network devices on your Linux system and show the traffic rates.

Posted: December 17, 2013. At: 1:42 PM. This was 4 years ago. Post ID: 6750
Page permalink: http://securitronlinux.com/bejiitaswrath/how-to-list-the-various-network-devices-on-your-linux-system-and-show-the-traffic-rates/

The ethstats command available on a Linux system allows you to show the network interfaces installed in your machine and the data transfer rates if they are connected to a network and they are not idle.

Install this script using this command.

[email protected]:/home/jason# apt install ethstats

Example usage of this command is shown below. I left it running whilst I did a tiny bit of web browsing and this shows the amount of data transferred over the network.

[email protected]:~$ ethstats
  eth0:    0.00 Mb/s In     0.00 Mb/s Out -      0.0 p/s In       0.0 p/s Out
  eth0:    0.00 Mb/s In     0.00 Mb/s Out -      0.0 p/s In       0.2 p/s Out
  eth0:    0.00 Mb/s In     0.00 Mb/s Out -      0.0 p/s In       0.0 p/s Out
  eth0:    0.92 Mb/s In     0.06 Mb/s Out -     91.5 p/s In      50.9 p/s Out
  eth0:    2.01 Mb/s In     0.11 Mb/s Out -    197.4 p/s In     108.2 p/s Out
  eth0:    0.29 Mb/s In     0.03 Mb/s Out -     35.0 p/s In      21.9 p/s Out
^C

This is another useful Linux command to try out occasionally.

1 responses to “How to list the various network devices on your Linux system and show the traffic rates.

Leave a Reply