tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* lsof switches
@ 1996-11-03  1:26 Brian James O'Connor
  0 siblings, 0 replies; only message in thread
From: Brian James O'Connor @ 1996-11-03  1:26 UTC (permalink / raw)
  To: tru64-unix-managers

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
------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-11-03  1:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-03  1:26 lsof switches Brian James O'Connor

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