lkml.org 
[lkml]   [1996]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Admin util wish list
Date
From

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


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:2.192 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site