Tagged Questions
3
votes
2answers
873 views
File descriptor linked to socket or pipe in proc [duplicate]
Possible Duplicate:
/proc/PID/fd/X link number
i have a question regarding the file descriptors and their linkage in the proc file system. I've observed that if i list the file descriptors ...
3
votes
1answer
167 views
Plotting the sleep/wait chain of a process
I often want to know why a process in the middle of a pipeline is sleeping and not busy processing data. My current method is:
find the pid of interest
sudo strace -pt pid to get the blocking ...
7
votes
2answers
2k views
/proc/PID/fd/X link number
In Linux, in /proc/PID/fd/X, the links for file descriptors that are pipes or sockets have a number, like:
l-wx------ 1 user user 64 Mar 24 00:05 1 -> pipe:[6839]
l-wx------ 1 user user 64 Mar 24 ...