users of file

Super Contributor
Posts: 378

users of file


I have a file ( sas or not sas file). it is open or used by an others users.

I want to know, it is used or open by which users ? by using sas or unix command

Thank you.

Respected Advisor
Posts: 4,743

Re: users of file

Guess that would be done on OS level via a Unix command. What's going to work will depend on your environment. Good thing is: There is heaps of information & discussions around this on the Internet. Just two links:

process - How to list processes locking file? - Unix & Linux Stack Exchange

How can I determine what process has a file open in Linux? - Super User

Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation