[~] # netstat -n
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.0.15:45696 192.168.0.7:53211 ESTABLISHED
tcp 1 0 192.168.0.15:52106 192.168.0.7:389 CLOSE_WAIT
tcp 0 0 127.0.0.1:32861 127.0.0.1:58080 CLOSE_WAIT
tcp 0 0 127.0.0.1:33064 127.0.0.1:58080 CLOSE_WAIT
tcp 0 0 127.0.0.1:33063 127.0.0.1:58080 CLOSE_WAIT
tcp 0 0 192.168.0.15:44065 192.168.0.7:445 ESTABLISHED
tcp 0 0 192.168.0.15:22 192.168.0.222:49867 ESTABLISHED
tcp 0 0 127.0.0.1:32851 127.0.0.1:58080 CLOSE_WAIT
tcp 0 0 127.0.0.1:32860 127.0.0.1:58080 CLOSE_WAIT
netstat: no support for `AF INET6 (tcp)' on this system.
udp 0 0 127.0.0.1:55658 127.0.0.1:514 ESTABLISHED
netstat: no support for `AF INET6 (udp)' on this system.
netstat: no support for `AF INET6 (raw)' on this system.
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 3 [ ] STREAM CONNECTED 1574116 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 1574115
unix 3 [ ] STREAM CONNECTED 1556704 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 1556703
unix 3 [ ] STREAM CONNECTED 1544843
unix 3 [ ] STREAM CONNECTED 1544842
unix 2 [ ] STREAM CONNECTED 1544841 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 2 [ ] STREAM CONNECTED 1544551 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 2 [ ] STREAM CONNECTED 1544547 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 495709 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 495708
unix 3 [ ] STREAM CONNECTED 369811 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 369810
unix 3 [ ] STREAM CONNECTED 362815 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 362814
unix 2 [ ] STREAM CONNECTED 329659 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 328361 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 328360
unix 3 [ ] STREAM CONNECTED 328350 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 328349
unix 3 [ ] STREAM CONNECTED 58027 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 58026
unix 3 [ ] STREAM CONNECTED 57728 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 57727
unix 3 [ ] STREAM CONNECTED 32290 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 32289
unix 3 [ ] STREAM CONNECTED 32160 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 32159
unix 3 [ ] STREAM CONNECTED 17221 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 17220
unix 3 [ ] STREAM CONNECTED 17216 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 17215
unix 3 [ ] STREAM CONNECTED 17201 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 17200
unix 3 [ ] STREAM CONNECTED 17197 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 17196
unix 3 [ ] STREAM CONNECTED 16835 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 16834
unix 3 [ ] STREAM CONNECTED 16830 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 16829
unix 3 [ ] STREAM CONNECTED 16065 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 16064
unix 3 [ ] STREAM CONNECTED 11889 //var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 11888
unix 3 [ ] STREAM CONNECTED 11870 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 11869
unix 3 [ ] STREAM CONNECTED 10790 /tmp/.winbindd/pipe
unix 3 [ ] STREAM CONNECTED 10789
unix 3 [ ] STREAM CONNECTED 10307
unix 3 [ ] STREAM CONNECTED 10306
unix 3 [ ] STREAM CONNECTED 8554
unix 3 [ ] STREAM CONNECTED 8553
unix 3 [ ] STREAM CONNECTED 8552 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 8551
unix 3 [ ] STREAM CONNECTED 7887 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 7886
unix 3 [ ] STREAM CONNECTED 7523
unix 3 [ ] STREAM CONNECTED 7522
unix 3 [ ] STREAM CONNECTED 7513 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 7512
unix 2 [ ] STREAM CONNECTED 7475 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 2 [ ] STREAM CONNECTED 7471 /usr/local/samba/var/locks/winbindd_privileged/pipe
unix 3 [ ] STREAM CONNECTED 5756
unix 3 [ ] STREAM CONNECTED 5755
netstat [-laenrtuwx]
Netstat displays Linux networking information.
Options:
-l display listening server sockets
-a display all sockets (default: connected)
-e display other/more information
-n don't resolve names
-r display routing table
-t tcp sockets
-u udp sockets
-w raw sockets
-x unix sockets