Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-09-2009
Registered User
 
Join Date: Aug 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
How to list locked file in unix?

Hi,
I want to list out all files which are lock by some process.

ex- ~/critical

I want to list all files in critical directory which has been locked.
I need this very badly. Any suggestion highly appriciated.


Regards,
Ashok
Sponsored Links
    #2  
Old 01-09-2009
methyl methyl is offline Forum Staff  
Moderator
 
Join Date: Mar 2008
Posts: 6,388
Thanks: 286
Thanked 668 Times in 640 Posts
man fuser
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
checking whether a file is locked hariza Shell Programming and Scripting 2 09-19-2008 03:09 AM
list out a file using unix command dmerin UNIX for Dummies Questions & Answers 2 01-14-2008 07:58 AM
list of active and locked OS accounts luft UNIX for Dummies Questions & Answers 4 11-03-2005 11:33 AM
Lock a file. AND Wait if file is locked sunil_neha Shell Programming and Scripting 2 07-13-2004 10:40 AM
How can a file be locked for a certain time? darthur UNIX for Dummies Questions & Answers 6 12-09-2003 10:35 AM



All times are GMT -4. The time now is 12:45 PM.