lkml.org 
[lkml]   [1996]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Admin util wish list
>>>>> "Todd" == Todd Graham Lewis <tlewis@mindspring.com> writes:

...

Todd> BSD fstat gives the following:

Todd> USER CMD PID FD MOUNT INUM MODE SZ|DV R/W tlewis zsh 27363
Todd> wd /usr 20307 drwxr-xr-x 512 r tlewis zsh 27363 0 / 4274
Todd> crw--w---- ttyp0 rw tlewis zsh 27363 1 / 4274 crw--w----
Todd> ttyp0 rw

Todd> I can't get fuser to give me anything close to this level of
Todd> detail, much less list all files presently being accessed by
Todd> any processon the system.

This is all very interesting. Here's one I'd like to have: A netstat
that lists the PID for the process that has a connection open. Many
times I can look at netstat output, and see open connections, but I
have no way of knowing which process (or more specifically, which
user) has that connection open.

Or is it just me being stupid, and there *is* a way of doing this?

--
Andrew C. Esh mailto:andrew_esh@cnt.com
Computer Network Technology andrewes@mtn.org (finger for PGP key)
6500 Wedgwood Road 612.550.8000 (main)
Maple Grove MN 55311 612.550.8229 (direct)
http://www.cnt.com - CNT Inc. Home Page
http://www.mtn.org/~andrewes - ACE Home Page


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