Pages

Sunday, February 20, 2011

Tcpdump

Inorder to collect the network stats between two boxes:

#tcpdump -w /tmp/tcpdump.out dst unixhst01 and tcp port 22

Reading the file

#tcpdump -tttnr /tmp/tcpdump.out | more

=> Destination Machine - unixhst01
=> Port - 22 ( SSH )

No comments: