Re: Admin util wish list

Larry 'Daffy' Daffner (vizzie@airmail.net)
Thu, 18 Jul 1996 19:32:49 -0500


Todd Graham Lewis writes:

-> Not really, unless I'm missing something. BSD fstat gives the following:
->
-> USER CMD PID FD MOUNT INUM MODE SZ|DV R/W
-> tlewis zsh 27363 wd /usr 20307 drwxr-xr-x 512 r
-> tlewis zsh 27363 0 / 4274 crw--w---- ttyp0 rw
-> tlewis zsh 27363 1 / 4274 crw--w---- ttyp0 rw
->

You can get similar information (but not the file mode) from the
'lsof' program. It can also do open network connections and a lot of
filtering. You might want to check it out. Main site is
vic.cc.purdue.edu in /pub/unix/tools/lsof (I think). Works on all
sorts of systems.

-Larry

--
  Larry Daffner        |  Linux: Unleash the workstation in your PC!
  vizzie@airmail.net / http://web2.airmail.net/vizzie/
	Technology is a way of organizing the universe so that man
	doesn't have to experience it.  --Max Frisch