users of file

Reply
Super Contributor
Posts: 371

users of file

Hello,

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,138

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
  • 158 views
  • 0 likes
  • 2 in conversation