0
votes
1answer
2k views

How to get PIDs waiting on a semaphore

If I strace a stuck process and see output of the form: [gaius@redhat64 bin]$ strace -p 18185 Process 18185 attached - interrupt to quit [ Process PID=18185 runs in 32 bit mode. ] semop(458760, ...