git: iostat - Fix column count bug

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jun 13 22:29:05 PDT 2019


commit 2a4ed1408f3f031e44dea6717350bbd99968dccf
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/2a4ed1408f3f031e44dea6717350bbd99968dccf


-- 
DragonFly BSD source repository


More information about the Commits mailing list