Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: File access

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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

  2. #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.

  3. #3
    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

  4. $spacer_open
  5. #4
    Just Joined! jdkaye's Avatar
    Join Date
    Aug 2010
    Gorizia, Italy
    You want fuser.
    FUSER(1) User Commands FUSER(1)

    fuser - identify processes using files or sockets

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts