In my example, the
wc
program is trying to open the test FIFO or named pipe.
These in-progress open
syscalls seem not to be shown by fuser
or lsof
:
mknod /tmp/testpipe p
wc /tmp/testpipe &
timeout 0.2 strace -p $! |& timeout 0.1 cat; echo
strace: Process 10103 attached
open("/tmp/testpipe", O_RDONLY
fuser /tmp/testpipe # no output
lsof | grep testpipe # no output
How to find processes trying to open some FIFO in Linux systems ?
Asked by Juergen
(754 rep)
Jul 18, 2024, 12:21 PM
Last activity: Jul 18, 2024, 03:33 PM
Last activity: Jul 18, 2024, 03:33 PM