netstat
The netstat command is a monitoring tool that displays a wide range of network information.
| Status information | Command |
|---|---|
| To find the status of the configured network interfaces | netstat -tn |
| To check the routing information | netstat -rn |
| To see statistics for all protocols configured on the system | netstat -s |
| To list both listening and non-listening sockets | netstat -an |
| To show statistics for the TCP protocol | netstat -tn |
| To show statistics for the UDP protocol | netstat -un |