cvs commit: src/usr.bin/netstat main.c mbuf.c netstat.h

Robert Watson rwatson at FreeBSD.org
Sun Nov 20 00:38:07 GMT 2005


rwatson     2005-11-20 00:38:06 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    usr.bin/netstat      main.c mbuf.c netstat.h 
  Log:
  Merge main.c:1.80, mbuf.c:1.45, netstat.h:1.46 from HEAD to RELENG_6:
  
    Modify netstat -mb to use libmemstat when accessing a core dump or live
    kernel memory and not using sysctl.  Previously, libmemstat was used
    only for the live kernel via sysctl paths.
  
    This results in netstat output becoming both more consistent between
    core dumps and the live kernel, and also more information in the core
    dump case than previously (i.e., mbuf cache information).
  
    Statistics relating to sfbufs still rely on a kvm descriptor as they
    are not currently exposed via libmemstat.  netstat -m operating on a
    core is still unable to print certain sfbuf stats available on the live
    kernel.
  
  Revision  Changes    Path
  1.72.2.4  +2 -12     src/usr.bin/netstat/main.c
  1.42.8.2  +51 -164   src/usr.bin/netstat/mbuf.c
  1.41.2.3  +1 -2      src/usr.bin/netstat/netstat.h


More information about the cvs-src mailing list