View Single Post
Old 6th June 2008
deemon's Avatar
deemon deemon is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Estonia
Posts: 50
Default

sockstat(1) - Gather information about sockets (sockstat -c4 | grep ^www | awk '{print $7}' | cut -d: -f1 | sort | uniq -c | sort +1n)
strace(1) (devel/strace) - Useful for tracing process execution (similar to truss(1))
lsof(8) (sysutils/lsof) - List opened files / sockets by programs (lsof /dev/dsp0 - who's that bastard blocking my sounds!??!, similar to fstat(1))
iftop(8) (net-mgmt/iftop) - Display live information about network bandwidth usage by interface and host.
tcpdump(1) - totally awsome tool for network debugging and sniffing. Also check wireshark (net/wireshark).
Reply With Quote