Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 1996 23:20:57 -0600 (MDT)
From:      Dave Andersen <angio@aros.net>
To:        dkelly@hiwaay.net (David Kelly)
Cc:        questions@freefall.freebsd.org
Subject:   Re: Who is using a file?
Message-ID:  <199605210520.XAA15083@shell.aros.net>
In-Reply-To: <v03006601adc6d9daca60@[44.100.48.19]> from David Kelly at "May 20, 96 09:28:45 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Unless there's a specific utility I'm not aware of, you're looking for 
'lsof'.  (list open files).  It's available from:

   ftp://vic.cc.purdue.edu/pub/tools/unix/lsof

There are FreeBSD binaries available.

   -Dave Andersen

Lo and behold, David Kelly once said:
> Once Upon A Time I came across the BSD utility to determine who has a
> particular file open and now I've forgotten it. This is a real useful thing
> when one wants to umount a fs and learns its busy. I *think* the utility
> could list the open files on a filesystem and/or list the users who are
> using a single file.
> 
> --
> David Kelly N4HHE,   n4hhe@amsat.org,    dkelly@hiwaay.net
> =============================================================
> To invent, you need a good imagination and a pile of junk.
>                 - Thomas Edison
> 
> 


-- 
angio@aros.net                Complete virtual hosting and business-oriented
system administration         Internet services.  (WWW, FTP, email)
http://www.aros.net/          http://www.aros.net/about/virtual
  "There are only two industries that refer to thier customers as 'users'."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605210520.XAA15083>