git: systat - Handle larger numbers, cleanup

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 14 19:33:24 PST 2011


commit eb79cb7cea084f5abbb57f5afd11b9469138b793
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Nov 14 19:30:11 2011 -0800

    systat - Handle larger numbers, cleanup
    
    * Print more precision for numbers greater than 999k
    
    * Normalize displayed values so everything is in bytes
      (converted to kBytes, mBytes, gBytes, etc as required).
    
    * Remove the -pv 1 contention display, which is not currently
      operational in the kernel anyway.

Summary of changes:
 usr.bin/systat/vmmeter.c |    6 ++
 usr.bin/systat/vmstat.c  |  210 ++++++++++++++++++++++++++++------------------
 2 files changed, 136 insertions(+), 80 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list