Network Statistics - Linux Networking Tool
The netstat command displays network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. It's an essential tool for monitoring and troubleshooting network activity.
On Linux, netstat provides detailed information about active TCP/UDP connections, listening ports, and network interface statistics.
Advertisement
[ Insert Google AdSense Banner Code Here ]
See all active TCP and UDP network connections.
Identify which ports are open and listening for connections.
View interface statistics and packet counts.
Display the kernel routing table information.
netstat -tuln Show all TCP/UDP listening ports with numeric addresses.
netstat -a Display all active connections and listening ports.
netstat -r Display the routing table.
netstat -i Show network interface statistics.
netstat -s Display statistics for each protocol.
netstat --help Display help information.
Practice using the netstat command in the terminal below. Try typing netstat -tuln or netstat -a