git: systat - Add -altq display, bug fixes

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Sep 4 10:56:27 PDT 2014


commit aa0a803a57c7119e5b39d166a1bc779fb1917014
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Sep 4 10:53:28 2014 -0700

    systat - Add -altq display, bug fixes
    
    * Add systat -altq.  This displays altq packet statistics in a nice
      [ifname x altqname] matrix.  Packets, bytes, and drops are displayed.
    
      Previously the only way to do this was to use 'pfctl -s queue -vvv'
      which is formatted so horribly that picking information out of it
      at a glance is impossible.
    
      Example usage:  systat -altq 1
    
    * Correct a bug in -ifstat that caused the statistics to not display
      when switching out and then back into the ifstat display.

Summary of changes:
 usr.bin/systat/Makefile              |   2 +-
 usr.bin/systat/{ifstat.c => altqs.c} | 416 ++++++++++++++++++++++++-----------
 usr.bin/systat/cmdtab.c              |   3 +
 usr.bin/systat/extern.h              |   7 +
 usr.bin/systat/ifstat.c              |  57 +++--
 5 files changed, 326 insertions(+), 159 deletions(-)
 copy usr.bin/systat/{ifstat.c => altqs.c} (50%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aa0a803a57c7119e5b39d166a1bc779fb1917014


-- 
DragonFly BSD source repository


More information about the Commits mailing list