# netstat -unlt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:6817 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6701 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:973 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8400 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8402 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:31196 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:54909 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
udp 0 0 0.0.0.0:1024 0.0.0.0:*
udp 0 0 0.0.0.0:967 0.0.0.0:*
udp 0 0 0.0.0.0:970 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 0.0.0.0:631 0.0.0.0:*
udp 0 0 :::1025 :::*
udp 0 0 ::1:1045 :::*
udp 0 0 ::1:1046 :::*
udp 0 0 ::1:1047 :::*
udp 0 0 ::1:1176 :::*
udp 0 0 ::1:1178 :::*
udp 0 0 :::5353 :::*
# netstat -ano |grep -v unix
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State Timer
tcp 0 0 0.0.0.0:6817 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:6701 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:973 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:8400 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:8402 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:31196 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 127.0.0.1:54909 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 127.0.0.1:17298 127.0.0.1:61255 ESTABLISHED off (0.00/0/0)
tcp 0 0 127.0.0.1:8402 127.0.0.1:26168 ESTABLISHED off (0.00/0/0)
tcp 0 0 127.0.0.1:43189 127.0.0.1:32463 ESTABLISHED off (0.00/0/0)
tcp 0 0 127.0.0.1:61255 127.0.0.1:17298 ESTABLISHED off (0.00/0/0)
tcp 0 0 127.0.0.1:26168 127.0.0.1:8402 ESTABLISHED off (0.00/0/0)
tcp 0 0 127.0.0.1:32463 127.0.0.1:43189 ESTABLISHED off (0.00/0/0)
tcp 0 0 :::22 :::* LISTEN off (0.00/0/0)
tcp 0 0 ::ffff:172.16.102.179:22 ::ffff:172.16.105.20:64411 ESTABLISHED keepalive (5285.31/0/0)
tcp 0 52 ::ffff:172.16.102.179:22 ::ffff:172.16.105.20:64514 ESTABLISHED on (0.23/0/0)
udp 0 0 0.0.0.0:1024 0.0.0.0:* off (0.00/0/0)
udp 0 0 0.0.0.0:967 0.0.0.0:* off (0.00/0/0)
udp 0 0 0.0.0.0:970 0.0.0.0:* off (0.00/0/0)
udp 0 0 0.0.0.0:5353 0.0.0.0:* off (0.00/0/0)
udp 0 0 0.0.0.0:111 0.0.0.0:* off (0.00/0/0)
udp 0 0 0.0.0.0:631 0.0.0.0:* off (0.00/0/0)
udp 0 0 :::1025 :::* off (0.00/0/0)
udp 0 0 ::1:1045 :::* off (0.00/0/0)
udp 0 0 ::1:1046 :::* off (0.00/0/0)
udp 0 0 ::1:1047 :::* off (0.00/0/0)
udp 0 0 ::1:1176 :::* off (0.00/0/0)
udp 0 0 ::1:1178 :::* off (0.00/0/0)
udp 0 0 :::5353 :::* off (0.00/0/0)
# netstat -nlp |grep -v unix
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:6817 0.0.0.0:* LISTEN 8150/EvMgrC
tcp 0 0 0.0.0.0:6701 0.0.0.0:* LISTEN 5272/ora_d000_orcl
tcp 0 0 0.0.0.0:973 0.0.0.0:* LISTEN 2487/rpc.statd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2448/portmap
tcp 0 0 0.0.0.0:8400 0.0.0.0:* LISTEN 8149/cvd
tcp 0 0 0.0.0.0:8402 0.0.0.0:* LISTEN 8150/EvMgrC
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2775/vsftpd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2738/cupsd
tcp 0 0 0.0.0.0:31196 0.0.0.0:* LISTEN 8149/cvd
tcp 0 0 127.0.0.1:54909 0.0.0.0:* LISTEN 8149/cvd
tcp 0 0 :::22 :::* LISTEN 2757/sshd
udp 0 0 0.0.0.0:1024 0.0.0.0:* 2912/avahi-daemon:
udp 0 0 0.0.0.0:967 0.0.0.0:* 2487/rpc.statd
udp 0 0 0.0.0.0:970 0.0.0.0:* 2487/rpc.statd
udp 0 0 0.0.0.0:5353 0.0.0.0:* 2912/avahi-daemon:
udp 0 0 0.0.0.0:111 0.0.0.0:* 2448/portmap
udp 0 0 0.0.0.0:631 0.0.0.0:* 2738/cupsd
udp 0 0 :::1025 :::* 2912/avahi-daemon:
udp 0 0 ::1:1045 :::* 5240/ora_pmon_orcl
udp 0 0 ::1:1046 :::* 5272/ora_d000_orcl
udp 0 0 ::1:1047 :::* 5274/ora_s000_orcl
udp 0 0 ::1:1176 :::* 8691/rman
udp 0 0 ::1:1178 :::* 8691/rman
udp 0 0 :::5353 :::* 2912/avahi-daemon:
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.16.102.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 172.16.102.1 0.0.0.0 UG 0 0 0 eth0