From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076341621335.tru64-unix-managers.marc@archive.invalid> From: "Brian James O'Connor" Date: Sun, 03 Nov 1996 01:26:35 +0000 To: tru64-unix-managers Subject: lsof switches X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076341621335 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 sh 593 boc 1w VREG 11, 6 211 1352521 /usr (/dev/re0g) httpd 26404 httpd cwd VDIR 11, 6 1024 515782 /usr (/dev/re0g) 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 ------------------------------------------------------------