DragonFly BSD
DragonFly commits List (threaded) for 2010-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: netstat - Fix netstat -m on core dumps


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Sep 2010 10:16:20 -0700 (PDT)

commit 7a52e261d58c007ae4615e067eac8d99a902cd19
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Sep 29 10:15:34 2010 -0700

    netstat - Fix netstat -m on core dumps
    
    * Aggregate all ncpus worth of stats when operating on a core dump instead
      of just using cpu0.  Otherwise the numbers will be wildly incorrect.
    
    Reported-by: Peter Avalos <peter@theshell.com>

Summary of changes:
 usr.bin/netstat/main.c    |    8 +++--
 usr.bin/netstat/mbuf.c    |   64 +++++++++++++++++++++++++++++---------------
 usr.bin/netstat/netstat.h |    2 +-
 3 files changed, 48 insertions(+), 26 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7a52e261d58c007ae4615e067eac8d99a902cd19


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]