Alternative to netstat -p
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>
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>