The nethogs is a compact "net top" tool that shows the bandwidth used by each process and sorts the list to the top of the process that consumes the most bandwidth. In the event of a sudden surge in bandwidth usage, users can quickly open nethogs and find a process that leads to a surge in bandwidth usage. Nethogs can report the program's process number (PID), user, and path.
debian/ubuntu under apt -get install build-essential Libncurses5-dev libpcap-< Span style= "COLOR: #000000" >devyum -based distro " s below yum install gcc -c++ libpcap-devel.x86_64 libpcap.x86_64 ncurses*[email protected]: /opt# wget-c https://github.com/raboof/nethogs/archive/v0.8.5.tar.gz [email protected]: /opt# TAR-ZXVF v0.8.5.tar.gz
[Email protected]:/opt# CD nethogs-0.8.5/
[email protected]:/opt/ Nethogs-0.8.5# make && make install
#
Attached to GitHub address: https://github.com/raboof/nethogs
Linux # Nethogs