Utility (or command) to see what processes have a file open
Hi. I am searching for a utility (or a command) that I can run on a file that will tell what processes have the file open. I think my distro is RedHat 4.2, but I'm not even sure of that. I'm new to Unix/Linux. Thanks in advance!
JG |
lsof
|
lsof | grep [filename]
|
Also,
uname -a cat /etc/redhat-release to get your kernel & OS versions |
All times are GMT -5. The time now is 11:25 PM. |