git: systat - Adjust field widths to prevent numbers from running together

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Apr 9 12:30:16 PDT 2011


commit 7ca39620b3c375aa39d23c766cc98b92ed4cb99f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Apr 9 12:14:46 2011 -0700

    systat - Adjust field widths to prevent numbers from running together
    
    * Compress the Trp, Sys, Int, Sof, and Flt fields and reduce the field
      width to prevent numbers from running into each other, which was making
      them unreadable.
    
      On MP systems these fields can get into the hundreds of K.  In particular
      the Flt number would often hit up against the 'wire' number to its right.
    
    * Reduce the width for the VN PAGER and SWAP PAGER fields for the same
      reason.
    
      These changes force larger numbers to be displayed with less accuracy,
      i.e. instead of 104555 we would get 104K, but the output is far more
      useful.

Summary of changes:
 usr.bin/systat/vmstat.c |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list