Using ethstatus in UbuntuServer can monitor the bandwidth usage of network adapters in real time. Run the sudoapt-getinstallethstatus command to install the software and use the ethstatus-ieth0 to view the eth0 Nic. The following figure shows the RX and TX rates of the current Nic. The unit is Byte. In addition, you can use vnstat. Install: sudoapt-getinst to collect statistics on the total traffic.
Using ethstatus in Ubuntu Server can monitor the bandwidth usage of network adapters in real time.
Run the sudo apt-get install ethstatus command to install the software and use ethstatus-I eth0 to view the eth0 Nic. Shown as follows:
This software displays the RX and TX rates of the current Nic, measured in bytes.
In addition, you can use vnstat to calculate the total traffic.
Install: sudo apt-get install vnstat
Nic for statistics configuration: sudo vnstat-u-I eth0
Display Information: vnstat
Vnstat can also display graphs.