

Remember to restart the rvice daemon after you have added a new interface.Įye candy presentation of the data can also be achieved by vnstati(1), which is part of the vnstat package. kBrd/s - Number of kilobytes the task has caused to be read from disk per second. Each row will have follwing columns: PID - process ID. The command to initialize one for the eth0 interface is: You can use pidstat to print cumulative io statistics per process every 20 seconds with this command: pidstat -dl 20. To start monitoring a particular interface that was not referred to in the configuration file when the daemon was started, you must initialize a database first.

To list all interfaces available to vnstat, use vnstat -iflist. Bandwhich, formerly known as what, is a terminal utility written in Rust programming language, which is used for monitoring current network bandwidth utilization by the process, connection, and remote IP/hostname. Pick a preferred network interface and edit the Interface variable in the /etc/nf accordingly. It monitors selectable interfaces and stores network traffic logs in a database for later analysis.

VnStat is a lightweight (command line) network traffic monitor.
