A lot of times you need to find which Process (PID) has the handle to a particular file.
In linux doing this easy using the following command:
$ ls -ld1 /proc/*/fd/* | grep <file-name-filter>
Enjoy !!
In linux doing this easy using the following command:
$ ls -ld1 /proc/*/fd/* | grep <file-name-filter>
Enjoy !!
No comments:
Post a Comment