0
votes
2answers
119 views

Can't find a process that is writing huge files to my disk

While clearing up my harddrive, I ran into a directory called, c:\logs that had huge files in it. The first one, called debuglog.txt is 9gb and contains the following data: ProcessWin7_SpeakerPin ...
1
vote
1answer
40 views

list of files NOT in use by process

How can I exclude the output of lsof -c <processname> /path/ from a list of files in /path/ for example find /path/ -type f I was thinking something like this: find ...
3
votes
2answers
151 views

Determine which files a process opened (Linux)

I am trying to determine which files a process creates when it runs. I know that I can list the file handles of a currently running process by looking in /proc or using lsof. However, the problem is ...
4
votes
2answers
653 views

Linux: ps -awx vs. ps -awwx

Does anyone know the difference of ps -awx vs. ps -awwx? I'm tracking down some processes, and I see significantly more information when I add an additional "w". Does this work like in other cases ...
3
votes
3answers
2k views

monitor open process files on linux (real-time)

The files opened by XYZ process can be found with the command ls -l /proc/PID/fd Is there anyway that can be done in a more interactive way like tail auto-refreshing every x seconds? Thank you.
3
votes
3answers
6k views

How can I see which processes locked a file?

How do you find out which processes have a lock on a given file, in Linux?
3
votes
4answers
1k views

How can I tell what files a process has open?

I have a daemon process and I want to know what files it has open (and ideally what its CWD is). Is there any shell command that can tell me that?