git: {pstat, swapinfo}(8): Add -g/-m to swapinfo, fix warnings, raise WARNS to 6.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Nov 28 10:52:51 PST 2013


commit d27bfc9ba28201dd6cd998adab7c1b34f166de2b
Author: Sascha Wildner <saw at online.de>
Date:   Thu Nov 28 19:49:37 2013 +0100

    {pstat,swapinfo}(8): Add -g/-m to swapinfo, fix warnings, raise WARNS to 6.
    
    -g and -m will use a BLOCKSIZE of 1G and 1M to display swap size in
    gigabytes or megabytes, respectively.
    
    Suggested-by: marino

Summary of changes:
 usr.sbin/pstat/Makefile |  1 -
 usr.sbin/pstat/pstat.8  | 19 +++++++++++++++----
 usr.sbin/pstat/pstat.c  | 30 ++++++++++++++++++++----------
 3 files changed, 35 insertions(+), 15 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list