git: DragonFly_RELEASE_5_6 iostat - Fix column count bug

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jun 13 22:30:21 PDT 2019


commit 9450a63fd6886ae2c55f0f37a003464ad9c56cf4
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jun 13 22:24:46 2019 -0700

    iostat - Fix column count bug
    
    * The maxshowdevs parameter was improperly conditionalized in the
      list iteration, causing the list to be truncated early in some cases.
    
    * Remove md*, pass*, and sg* by default, they are not usually
      interesting.
    
    * Display more columns by default if stdout is a terminal and is wide
      enough.

Summary of changes:
 usr.sbin/iostat/iostat.8 | 16 ++++++------
 usr.sbin/iostat/iostat.c | 64 +++++++++++++++++++++++++++++++++++++++++-------
 2 files changed, 62 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9450a63fd6886ae2c55f0f37a003464ad9c56cf4


-- 
DragonFly BSD source repository



More information about the Commits mailing list