From owner-freebsd-current Mon Apr 29 23:16:44 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA10927 for current-outgoing; Mon, 29 Apr 1996 23:16:44 -0700 (PDT) Received: from lirmm.lirmm.fr (lirmm.lirmm.fr [193.49.104.10]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id XAA10760 for ; Mon, 29 Apr 1996 23:14:32 -0700 (PDT) Received: from lirmm.fr (baobab.lirmm.fr [193.49.106.14]) by lirmm.lirmm.fr (8.7.1/8.6.4) with ESMTP id IAA25525 for ; Tue, 30 Apr 1996 08:10:38 +0200 (MET DST) Message-Id: <199604300610.IAA25525@lirmm.lirmm.fr> To: current@freebsd.org Subject: systat -vmstat Date: Tue, 30 Apr 1996 08:10:37 +0200 From: "Philippe Charnier" Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 ------------------------------------------------------------------------