In Linux if you go digging in /proc/<pid>/fd
often you'll see output like:
lrwx------ 1 root root 64 Jul 30 15:14 0 -> /dev/null
lrwx------ 1 root root 64 Jul 30 15:14 1 -> /dev/null
l-wx------ 1 root root 64 Jul 30 15:14 10 -> pipe:[90222668]
lr-x------ 1 root root 64 Jul 30 15:14 11 -> pipe:[90222669]
l-wx------ 1 root root 64 Jul 30 15:14 13 -> pipe:[90225058]
lr-x------ 1 root root 64 Jul 30 15:14 14 -> pipe:[90225059]
How do I get more info about the open pipes, such as which process is on the other end?
Similiar to other answers, but:
Will show you both ends, because both ends share the 'pipe number'.
The only way to find what process is on the other end is by looping over all processes in /proc and seeing which are using that pipe (ie, which have symlinks in /proc/pid/fd to the same pipe ID)
The most information I know how to get on open pipes is
Still only tells about one end of it, I'm afraid.