Re:Show HN: Watch what files any Linux process accesses
by Erwin on Tuesday June 09, 2020 @01:37PM
(#23468819)
BTW, if you are using strace for this, check out the -y option recently added to strace. It will print the filename next to each file descriptor like this:
Another interesting new strace option is -k which does a stack dump after each syscall. this can be useful to find out what part of the application, like some obscure lib, does weird system calls in your app.
[ Parent
| on HN ]
There are no comments on this comment yet.