3 ms·
afaik that info is not available from lsof, but I'm open to suggestions if there is more sensible data to extract from the output.
by zevv 9y ago
afaik that info is not available from lsof, but I'm open to suggestions if there is more sensible data to extract from the output.
- zokier 9y agoSlide 12 here[1] shows that lsof distinguishes the read and write ends of FIFOs at least. For TCP I suppose I makes sense to check which end uses ephemeral port. [1] https://github.com/nh2/strace-pipes-presentation/blob/master/presentation/Debugging%20across%20pipes%20and%20sockets%20with%20strace.pdf https://github.com/nh2/strace-pipes-presentation/blob/master...
- zevv 9y agoTrue, info for FIFOs can be derived from lsof output, update follows.
- cryptonector 9y agoThat info is available. If a pipe fd is open for reading, then that's the fd for reading...