linux - how do I find out what program's on the other end of a local socket? -


A process on my Linux system, Strace tells me, is talking on a socket in which the file descriptor is 10. Lsof tells me that it is a Unix socket with Inode 11085, and Netstate tells me that the Inod 11085 is a stream socket, and it is connected.

Given that there are no other threads in this process, then there should be another process on the system connected to the other end of the socket.

Update:

There is some light from the LSOF author. Basically, it seems that Linux just does not provide this information.

  ss -p  

(provided the socket But the kernel is not owned by itself.)


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -