[lkml]   [1996]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Admin util wish list
    >>>>> "Todd" == Todd Graham Lewis <> 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
    Computer Network Technology (finger for PGP key)
    6500 Wedgwood Road 612.550.8000 (main)
    Maple Grove MN 55311 612.550.8229 (direct) - CNT Inc. Home Page - ACE Home Page

     \ /
      Last update: 2005-03-22 13:37    [W:0.017 / U:48.664 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site