Results 1 to 3 of 3
Hi all,
What is the command to know which process is using a certain file ?
Thanks,
Frederic...
- 08-24-2005 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 2
Command to know which process is using a certain file
Hi all,
What is the command to know which process is using a certain file ?
Thanks,
Frederic
- 08-24-2005 #2is what you want.Code:
lsof
to see what's using a file (lets say "filename") use:
should suffficeCode:lsof | grep filename
"I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327
- 08-24-2005 #3Linux Newbie
- Join Date
- Jul 2004
- Location
- Calcutta, India
- Posts
- 220
i thought it was :
Code:fuser [files | filesystems]


Reply With Quote
