Link to home
Start Free TrialLog in
Avatar of eocallaghan
eocallaghan

asked on

How to find what process is locking a file in Linux

How can I determine what process is locking a file? Is there a filemon for Linux?
SOLUTION
Avatar of msklizmantas
msklizmantas
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
adding to the previous comment

lsof | grep filename to get the exact entry
#lsof -n |more
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial