Date: Tue, 30 Apr 1996 08:10:37 +0200 From: "Philippe Charnier" <charnier@lirmm.fr> To: current@freebsd.org Subject: systat -vmstat Message-ID: <199604300610.IAA25525@lirmm.lirmm.fr>
next in thread | raw e-mail | index | archive | help
Hi,
What about making systat -vmstat a little more friendly?
cvs diff: Diffing usr.bin/systat
Index: usr.bin/systat/systat.1
===================================================================
RCS file: /home2h/FreeBSD.cvsroot/src/usr.bin/systat/systat.1,v
retrieving revision 1.4
diff -u -r1.4 systat.1
--- systat.1 1996/01/20 07:29:09 1.4
+++ systat.1 1996/04/13 09:42:20
@@ -238,8 +238,8 @@
sleeping (`s'), and swapped out but desiring to run (`w').
Below the queue length listing is a numerical listing and
a bar graph showing the amount of
-system (shown as `='), interrupt (shown as `+'), user (shown as `>'),
-nice (shown as `-'), and idle time (shown as ` ').
+system (shown as `S'), interrupt (shown as `I'), user (shown as `U'),
+nice (shown as `N'), and idle time (shown as ` ').
.Pp
At the bottom left are statistics on name translations.
It lists the number of names translated in the previous interval,
Index: usr.bin/systat/vmstat.c
===================================================================
RCS file: /home2h/FreeBSD.cvsroot/src/usr.bin/systat/vmstat.c,v
retrieving revision 1.18
diff -u -r1.18 vmstat.c
--- vmstat.c 1996/03/31 16:39:26 1.18
+++ vmstat.c 1996/04/13 09:41:35
@@ -349,7 +349,7 @@
putint((int)((float)s.fld/etime + 0.5), l, c, w)
#define MAXFAIL 5
-static char cpuchar[CPUSTATES] = { '=' , '+', '>', '-', ' ' };
+static char cpuchar[CPUSTATES] = { 'S' , 'I', 'U', 'N', ' ' };
static char cpuorder[CPUSTATES] = { CP_SYS, CP_INTR, CP_USER, CP_NICE,
CP_IDLE };
-------- --------
Philippe Charnier charnier@lirmm.fr
LIRMM, 161 rue Ada, 34392 Montpellier cedex 5 -- France
------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604300610.IAA25525>
