tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Brian James O'Connor" <boc () ironbark ! bendigo ! latrobe ! edu ! au>
To: tru64-unix-managers
Subject: lsof switches
Date: Sun, 03 Nov 1996 01:26:35 +0000	[thread overview]
Message-ID: <96076341621335.tru64-unix-managers.marc@archive.invalid> (raw)

Reply To: b.oconnor@bendigo.latrobe.edu.au
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 945       

Hello,
      try as I might I can't get lsof to list open files,
it lists open devices, eg

lsof /usr

COMMAND     PID     USER   FD   TYPE       DEVICE   SIZE/OFF      INODE NAME
<snip>
sh          593      boc    1w  VREG   11,      6        211    1352521 /usr (/dev/re0g)
<snip>
httpd     26404    httpd  cwd   VDIR   11,      6       1024     515782 /usr (/dev/re0g)
<snip>

So what gives?, I want to know what FILE is being read or written, the 
device name is useless to me (all home directories are on one RAID array).

I would like to be able track "disk leaks", it seems "du" is the
a more usefull tool for this. Have misunderstood?, is there a switch to
fix this?

TIA
boc
-- 
------------------------------------------------------------
        Brian O'Connor, Unix Systems Consultant
              Latrobe University,Bendigo
          boc@ironbark.bendigo.latrobe.edu.au
------------------------------------------------------------

                 reply	other threads:[~1996-11-03  1:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox