From: Matthew Dillon Date: Sun, 15 Aug 2010 19:18:48 +0000 (-0700) Subject: systat - Add more spacing for the Load X-Git-Tag: v2.9.0~519 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/bdb32f11dc20a0469bababb2333b2dbd29bad1d0 systat - Add more spacing for the Load * Adjust load display so three-digit loads do not crush the display --- diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index 7c4b0615a3..6c07666537 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -480,9 +480,9 @@ showkre(void) } putint(ucount(), STATROW, STATCOL, 3, 'D'); - putfloat(avenrun[0], STATROW, STATCOL + 17, 6, 2, 0); - putfloat(avenrun[1], STATROW, STATCOL + 23, 6, 2, 0); - putfloat(avenrun[2], STATROW, STATCOL + 29, 6, 2, 0); + putfloat(avenrun[0], STATROW, STATCOL + 18, 6, 2, 0); + putfloat(avenrun[1], STATROW, STATCOL + 25, 6, 2, 0); + putfloat(avenrun[2], STATROW, STATCOL + 32, 6, 2, 0); mvaddstr(STATROW, STATCOL + 53, buf); #define pgtokb(pg) ((pg) * vms.v_page_size / 1024) putint(pgtokb(total.t_arm), MEMROW + 2, MEMCOL + 3, 8, 'K');