Results 1 to 4 of 4
Hello all this is my first post on here. I was wondering if there is any way to tell what programs or process's are access a certain file. This is ...
- 09-03-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 2
File access
Hello all this is my first post on here. I was wondering if there is any way to tell what programs or process's are access a certain file. This is just a linux text file. Thanks
- 09-03-2010 #2
What do you mean? Do you want to gather information about which processes currently use a file? This can be achieved with lsof or the more lightweight fuser.
- 09-04-2010 #3Just Joined!
- Join Date
- Aug 2010
- Posts
- 2
Yes what process access it and if possible what time etc. What is happening at work there is a file and a BMC portal patrol agent program sends a warning saying the file cant be accessed and it is at random times, so I think something else is accessing it at the same time. thanks
- 09-07-2010 #4
You want fuser.
ciao,FUSER(1) User Commands FUSER(1)
NAME
fuser - identify processes using files or sockets
jdk


Reply With Quote