🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.archives
Article #50

[comp.unix.aix] AIX3 performance monitor-1.06 available now

#50
From: Jussi M{ki
Date: Sun, 01 Nov 1992 03:28
128 lines
6941 bytes
Archive-name: auto/comp.unix.aix/AIX3-performance-monitor-1-06-available-now

Monitor program is an AIX 3 System performance monitor program.
Monitor-program can be used to display system statistics
of various short time performance values. Monitor program is available
from ftp.funet.fi using anonymous ftp from 
pub/unix/AIX/rs6000/monitor-1.06.tar.Z -file.

New to version 1.06
	* support for IBM RISC System 6000 model 220. Monitor should now
	  displays amount of total memory correctly.
	* optional support for led display (compile loadavgd program
	  with -DLED option). (LED-display will show 1 minute load average
	  in RS/6000 front LED-display using letter 'c' and it's mirror image
	  as decimal point. Each time that loadavgd is responds to
	  getloadavg() call LED-display is refreshed and decimal point
	  is changed to its mirror image.)

New to version 1.06beta
	* support for AIX 3.2. Note, version compiled in AIX 3.2
	  don't work in AIX 3.1!
	* bug fixes
	* support for immediate screen refresh (with ctrl-L)
	* nroff -version of man-page in file monitor.1
	* for wider screens top will show user and system time distribution

New to version 1.04
	* process info sorted by cpu-usage (in top.c and top.h files)
	  try 'monitor -top'
	  Information shown are process-id, username, priority, nice-value,
	  program size (virtualmemeory), program size in real memory (RES),
	  process status, used cputime, cputime usage between display refresh.
	* new flags [-top [nprocs]] [-all]
	* changed exit with ctrl-c or q

New to version 1.03
	* included uptime-command that users loadavgd to get loadavgvalues

New to version 1.02
	* start using loadavgd-daemon
	* added ethernet-interface number to name
	
Values showed in monitor are (most of the values are converted
to be showed as units/second).
	* hostname and date
	* percentage distribution of cpu-load (system, wait, user and 
	  idle percentages) with graf where '=' means system,	
	  'W' means wait, ">" means user and "." means idle time.
	* runnable processes value/second and load average values
	  of 1, 5 and 15 minute times 
	* processes waiting to be swapped in
	* both free and total from real and virtual memory,
	  real memory is RAM-memory and virtual memory
	  is paging space
	* paging information; pagefaults, pages to be paged in and out
	  from user space and pages to be paged in and out from
	  paging (swap) space, page size in AIX 3.1 is 4 kB,
	* various process and system events: process (context) switches,
	  system call, read and write -calls, forks and execs,
	  three interrupts rcvint, xmtint, mdmint.
	* File and tty-IO variables; iget, namei and dirblk, amout of read
	  and written kbytes, amount of ttybased characters handled.
	* Disk-information, read and written bytes/second and amount
	  of busy time 
	* network (netw) information; amount read and written kB per second.

See also:
	AIX commands vmstat(1), sar(1), netstat(1)
	/usr/include/sys/{sysinfo.h, vminfo.h, iostat.h}
	/usr/include/sys/if.h
	
Plan:
	* X11-userinterface
	* performance recording and display of recorded values...

Sample output from monitor program version 1.06 in one of
our IBM RISC System/6000 model 550 using command "monitor -all".
------------------------------------------------------------------------------
System monitor v1.06: leka.hut.fi                 Tue Oct 27 13:55:23 1992
                                                  Refresh:  10.03 s
Sys 14.6% Wait  0.0% User 85.4% Idle  0.0%
0%             25%              50%               75%              100%
==========>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Runnable processes 16.51 load average:  3.40,  3.26,  3.63
Swap-in processes   0.00
                                Paging (4kB)    Process events   File/TTY-IO
Memory    Real     Virtual       23.3 pgfaults    528 pswitch      77 iget
free     31.6 MB  204.4 MB        2.9 pgin       1477 syscall      21 namei
total   192.0 MB  320.0 MB        0.0 pgout       295 read         23 dirblk
                                  0.0 pgsin       256 write      4560 readch
DiskIO   read    write   busy     0.0 pgsout        0 fork      12490 writech
hdisk2    0.0   0.0 kB/s   0%                       0 exec         28 ttyrawch
hdisk6    0.0   0.0 kB/s   0%                      17 rcvint        0 ttycanch
hdisk7    0.0   0.0 kB/s   0%                      17 xmtint       30 ttyoutch
hdisk3    0.0   0.0 kB/s   0%                       0 mdmint
hdisk4    0.0   0.0 kB/s   0%
hdisk0    0.0   0.0 kB/s   0%                       Netw  read   write
hdisk1   11.7   0.0 kB/s   8%                       lo0    0.0   0.0 kB/s
cd0       0.0   0.0 kB/s   0%                       en0   12.0   4.9 kB/s
                                                    en1    0.0   0.0 kB/s

   PID USER     PRI NICE   SIZE     RES STAT      TIME   CPU% COMMAND
 45996 jvuorisa  68   0   7253K   8180K run       0:59  28.4% mathexe
 42313 maalto    65   0   7095K   7020K sleep     2:25  13.7% maker3X.exe
 45560 aarkkio   68   0  12431K  10480K run      91:48  12.7% a.out
 55142 amakinen  68   0   2748K   2380K run      56:28  12.7% mposint
 35781 mlyly     68   0  26730K  26656K run      32:25  12.7% elmo
 37142 root      68   0    342K    368K run       0:00  11.8% ls
 47370 trosqvis  61   0    991K   1508K sleep     0:00   4.9% emacs
 59159 root      61   0    349K    464K run       0:00   2.0% monitor
   771 root      37  21     20K     20K sleep    91:52   1.0% netw (kproc)
   514 root     127  21     12K      8K run     215:00   0.0% wait (kproc)
     1 root      60   0    329K    212K sleep    36:16   0.0% init
  1028 root      39  21     20K     20K sleep    29:56   0.0% nett (kproc)
 10408 root      60   0    170K     16K sleep    18:49   0.0% nfsd
 11693 root      60   0    154K     12K sleep    18:46   0.0% nfsd
------------------------------------------------------------------------------
Author: Jussi Maki
        Helsinki University of Technology
        Computing Centre
        Otakaari 1
        SF-02150 ESPOO
        FINLAND, EUROPE

Internet-mail: jmaki@vipunen.hut.fi	(or)  jussi.maki@hut.fi
Telephone:	+358-0-451 4317
Telefax:	+358-0-464 788
Technical Details
Message-ID: <1cvisbINNlq6@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!wupost!spool.mu.edu!agate!agate!usenet
References: <JMAKI.92Oct27135546@veivi.hut.fi>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!wupost!spool.mu.edu!agate!agate!usenet
From: jmaki@veivi.hut.fi (Jussi M{ki)
Newsgroups: comp.archives
Subject: [comp.unix.aix] AIX3 performance monitor-1.06 available now
Followup-To: comp.unix.aix
Date: 1 Nov 1992 03:28:11 GMT
Organization: Helsinki University of Technology, Finland
Lines: 129
Sender: adam@soda.berkeley.edu
Approved: adam@soda.berkeley.edu
Distribution: world
Message-ID: <1cvisbINNlq6@agate.berkeley.edu>
References: <JMAKI.92Oct27135546@veivi.hut.fi>
NNTP-Posting-Host: soda.berkeley.edu
X-Original-Newsgroups: comp.unix.aix
X-Original-Date: 27 Oct 92 14:55:46