Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 1996 14:34:09 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        dkelly@hiwaay.net (David Kelly)
Cc:        questions@freefall.freebsd.org
Subject:   Re: Who is using a file?
Message-ID:  <199605210504.OAA25393@genesis.atrad.adelaide.edu.au>
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
David Kelly stands accused of saying:
> 
> 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.

'fstat' (part of the system) or 'lsof' (in the ports collection)

> David Kelly N4HHE,   n4hhe@amsat.org,    dkelly@hiwaay.net

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



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