Tag: netstat

sample session with “ss” command to show details on network

$ss -t State Recv-Q Send-Q Local Address:Port Peer Address:Port ESTAB 0 0 192.168.0.100:57982 216.58.197.34:https ESTAB 0 0 192.168.0.100:56572 216.58.196.98:https ESTAB 0 0 192.168.0.100:51440 216.58.220.34:https ESTAB 0 0 192.168.0.100:56850 216.58.196.110:https ESTAB 0 0 192.168.0.100:42946 216.58.220.46:https ESTAB 0 0 192.168.0.100:42758 216.58.197.46:https ESTAB 0 0 192.168.0.100:32912 216.58.220.33:https ESTAB 0 0 192.168.0.100:40452 216.58.220.38:https ESTAB 0 0 192.168.0.100:51128 182.79.251.80:https ESTAB

common network utilities/tools

commandline session $ping www.beautifulwork.org PING beautifulwork.org (46.22.210.18) 56(84) bytes of data. 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=1 ttl=53 time=310 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=2 ttl=53 time=210 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=3 ttl=53 time=210 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=4 ttl=53 time=210 ms 64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=5 ttl=53 time=211

Bash – netstat ( network statistics related )

commandline session $netstat –tcp Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 debian.local:39585 74.125.169.8:http ESTABLISHED tcp 0 0 debian.local:39586 74.125.169.8:http ESTABLISHED tcp 0 0 debian.local:47951 maa03s17-in-f6.1e:https ESTABLISHED tcp 0 0 debian.local:47203 maa03s17-in-f0.1e1:http ESTABLISHED $ $netstat –tcp –numeric Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address