See the Linux connection process real time traffic

To see the device on the overall situation, bandwidth can use nload, iftop, ifstat,iptraf tools.

To see the device on each process the bandwidth of the connection, you can use nethogs tools.

Here introduce nethogs tool, very powerful, can real-time display of each process flow.

This tool

1、can view real-time system of the current process flow
2、can be combined and nload, can be diagnosed with a lot of problems.

If you want to record the data to the log in, use the following command:

Nethogs - b | tee log. txt