Alternative to netstat -p

By dose | September 11, 2014
Under: Uncategorized

On SuSe Linux SLES 10.2, netstat -a -p for some reason doesn’t output any PID that belongs to a socket. This old trick helps:

netstat -a -e  # Shows the inode-number for the process
lsof | grep <inode number>

Leave a Comment


E-Mail :

Subscribe :
Website :

Comments :