Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 11:25:42 -0700 (PDT)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/netstat if.c main.c netstat.1 netstat.h
Message-ID:  <200106151825.f5FIPhO20350@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ru          2001/06/15 11:25:42 PDT

  Modified files:
    usr.bin/netstat      if.c main.c netstat.1 netstat.h 
  Log:
  First round of netstat(1) cleanup.
  
  Removed the ambiguity in -s, -f, -p and -i flags handling.
  Basically, there are four displays (except others):
  
  1.  PCB display.
  2.  Protocol statistics display. (-s)
  3.  Interface statistics display. (-i)
  4.  Per-interface protocol statistics display. (-i -s)
  
  All of the above except 3) can be limited to a particular
  protocol family (-f) or a single protocol (-p).
  
  Some examples:
  
  1.  netstat -f inet    -- show PCBs of all INET protocols
  2.  netstat -p udp     -- show PCB of UDP protocol only (NEW!)
  3.  netstat -s         -- show protocol statistics for all families
  4.  netstat -s -f inet -- show INET protocols statistics
  5.  netstat -s -p icmp -- show ICMP protocol statistics
  
  This is a work in progress.  Manpage has been fixed slightly,
  but is still incomplete.
  
  Revision  Changes    Path
  1.42      +2 -2      src/usr.bin/netstat/if.c
  1.45      +22 -27    src/usr.bin/netstat/main.c
  1.33      +31 -38    src/usr.bin/netstat/netstat.1
  1.25      +1 -2      src/usr.bin/netstat/netstat.h


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106151825.f5FIPhO20350>