Tagged Questions
1
vote
2answers
45 views
Tracking which files are used by program
I am looking for a way to track which files are used by program installer(InstallAnywhere). I cannot use lsof because as far as I know it works on active processes and I want a tool which will work ...
3
votes
1answer
47 views
lsof doesn't return files open by the same user
Consider this simple scenario:
I open a text file ~/textfile.txt with vim in one terminal (tried with both edit and read-only modes).
In a different terminal, I run
/usr/sbin/lsof ~/textfile.txt
...
9
votes
1answer
240 views
How do I monitor opened files of a process in realtime?
I know I can view the open files of a process using lsof at that moment in time on my Linux machine. However, a process can open, alter and close a file so quickly that I won't be able to see it when ...
5
votes
3answers
9k views
Alternatives for “lsof” command?
In many cases "lsof" is not installed on the machines that with I have to work, but the "function" of lsof would be needed very much (ex. on AIX). :\
Are there any "lsof" like applications in the ...
16
votes
2answers
2k views
Who's got the other end of this unix socketpair?
I want to determine what process has the other end of a unix socket, that was created with socketpair().
I have a program parent which creates a socketpair(AF_UNIX, SOCK_STREAM, 0, fds), and fork()s. ...
