netstat

Prev Next

The netstat command displays active TCP ports, ethernet statistics, IP routing table, IPv4 statistics, and ports used by the host machine.

Syntax: netstat <IP_Address>

Sample Output:

IPSManager> netstat 10.1.1.1

Active Internet connections (w/o servers)

Proto Recv-Q Send-Q Local Address Foreign Address State

tcp 0 548 IPSManager.qadoma:ssh 10.4.7.1:52531 ESTABLISHED

Active UNIX domain sockets (w/o servers)

Proto RefCnt Flags Type State I-Node Path

unix 3 [ ] DGRAM 7364 /run/systemd/notify