Среда (07/29/09)

/dev/ttyp4
20:02:40
$netstat -h
[user@debian5:dev]$ netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      1 192.168.54.62:54198     chub.in:18030           SYN_SENT
tcp        0      0 debian5.net.nt:5900     host211.net.nt:4465     ESTABLISHED
tcp        0      0 debian5.net.nt:60429    debian7.andrey.net.:ssh ESTABLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node Path
unix  3      [ ]         DGRAM                    3299     /dev/log
unix  4      [ ]         STREAM     CONNECTED     8296     /tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     8295
unix  3      [ ]         STREAM     CONNECTED     7771     /tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     7770
unix  3      [ ]         STREAM     CONNECTED     7416     /tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     7415
unix  3      [ ]         STREAM     CONNECTED     5653     /tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     5652
unix  15     [ ]         STREAM     CONNECTED     5579     /tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     5578
unix  2      [ ]         STREAM     CONNECTED     3482
unix  2      [ ]         DGRAM                    3314
usage: netstat [-veenNcCF] [<Af>] -r         netstat {-V|--version|-h|--help}
       netstat [-vnNcaeol] [<Socket> ...]
       netstat { [-veenNac] -i | [-cnNe] -M | -s }
        -r, --route              display routing table
        -i, --interfaces         display interface table
        -g, --groups             display multicast group memberships
        -s, --statistics         display networking statistics (like SNMP)
        -M, --masquerade         display masqueraded connections
        -v, --verbose            be verbose
        -n, --numeric            don't resolve names
        --numeric-hosts          don't resolve host names
        --numeric-ports          don't resolve port names
        --numeric-users          don't resolve user names
        -N, --symbolic           resolve hardware names
        -e, --extend             display other/more information
        -p, --programs           display PID/Program name for sockets
        -c, --continuous         continuous listing
        -l, --listening          display listening server sockets
        -a, --all, --listening   display all sockets (default: connected)
        -o, --timers             display timers
        -F, --fib                display Forwarding Information Base (default)
        -C, --cache              display routing cache instead of FIB
  <Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom
  <AF>=Use '-6|-4' or '-A <af>' or '--<af>'; default: inet
  List of possible address families (which support routing):
    inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
    netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
    x25 (CCITT X.25)