This article covers how to monitor network traffic using the netstat command. In fact, Netstat is a popular command for everything related to network analysis.
We explored the uses of the netstat command on the Linux system.
To install netstat, run the following on Debian and its derived distributions:
$ sudo apt install net-tools
On RedHat and its derived distributions, run:
$ yum install net-tools
To get the network load overview, you can call both netstat and ss with the flag -s. netstat gives the output in more depth, while ss gives a summary of the load:
$ netstat -s