From owner-freebsd-questions Tue May 21 05:26:43 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA21209 for questions-outgoing; Tue, 21 May 1996 05:26:43 -0700 (PDT) Received: from nol.net (root@dazed.nol.net [206.126.32.101]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id FAA21203 for ; Tue, 21 May 1996 05:26:41 -0700 (PDT) Received: from dazed.nol.net (blh@dazed.nol.net [206.126.32.101]) by nol.net (8.7.5/8.7.3) with SMTP id HAA19949; Tue, 21 May 1996 07:26:36 -0500 (CDT) X-AUTH: NOLNET SENDMAIL AUTH Date: Tue, 21 May 1996 07:26:35 -0500 (CDT) From: "Brett L. Hawn" To: David Kelly cc: questions@freefall.freebsd.org Subject: Re: Who is using a file? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 20 May 1996, David Kelly wrote: > 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. I don't know of a particular utility designed for fbsd, but I've been using lsof on most of the machines I have and it works terrifically. The home of lsof is: ftp://vic.cc.purdue.edu/lsof Brett