Javatpoint Logo
Javatpoint Logo

Linux netstat

The netstat command stands for Network Statistic. It displays information about different interface statistics including open sockets, routing tables and connection information.

Syntax:

Linux netstat1

Look at the above snapshot, it is a list of open sockets.


netstat -p

This command displays programs associated with open socket.

Linux netstat2

netstat -s

It displays detiled statistics for all ports.

Linux netstat3

netstat -r

This command displays routing table information.

Linux netstat4
Next TopicLinux ss




Please Share

facebook twitter google plus pinterest tumbler

Learn Latest Tutorials