Install capstats by entering the following commands in the terminal:
sudo apt update sudo apt install capstats
command-line tool for collecting network interface statistics
capstats is a small tool for collecting statistics on the current load of a network interface, using either libpcap or the native interface for Endace’s. It reports statistics per time interval and/or for the tool’s total run-time.