File Locking

From: Jim <jsw@wadell.org>
Date: Fri May 28 2004 - 21:30:15 AKDT

Check out lsof. Kind of the swiss army knife of what is happening on
your system

Jim

> From: "DENNIS BYRNE" <asdcb1@uaa.alaska.edu>
> Date: Thu, 27 May 2004 20:14:11 -0800
> Subject: file locking
>
> anyone know a command that will tell me what files a process has locked?
>
> Dennis Byrne
>
>
> ------------------------------
>
> Date: Thu, 27 May 2004 20:22:34 -0800 (AKDT)
> From: Arthur Corliss <acorliss@nevaeh-linux.org>
> Subject: Re: file locking
>
> On Thu, 27 May 2004, DENNIS BYRNE wrote:
>
>
>>anyone know a command that will tell me what files a process has locked?
>
>
> If you want to know what file descriptors any given process has open you can
> simply do a 'ls -l /proc/{PID}/fd/' and get a quick listing. If you really
> need to know about advisory locks, etc., then I'd suggest you use a utility
> like lsof, which displays that info in athe FD column by default.
>
> --Arthur Corliss
> Bolverk's Lair -- http://arthur.corlissfamily.org/
> Digital Mages -- http://www.digitalmages.com/
> "Live Free or Die, the Only Way to Live" -- NH State Motto
>
> ------------------------------
>
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Fri May 28 21:27:22 2004

This archive was generated by hypermail 2.1.8 : Fri May 28 2004 - 21:27:23 AKDT