Previous Next
netstat
me@myhost:~$ netstat -li
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 1500   0 71416      0      0      0 12649     0      0      0 BMRU
lo  16436   0    98      0      0      0    98     0      0      0 LRU


me@myhost:~$ netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address        Foreign Address       State      
tcp        0      0 *:discard            *:*                   LISTEN      
tcp        0      0 *:daytime            *:*                   LISTEN      
tcp        0      0 *:smtp               *:*                   LISTEN      
udp        0      0 *:discard            *:*                                 
udp        0      0 *:bootpc             *:*                                 
Active UNIX domain sockets (only servers)
 [deleted for clarity]
me@myhost:~$