[comp.unix.aix] monitor command for aix?

wohler@sapwdf.UUCP (Bill Wohler) (05/24/91)

folks,

  we're looking for a monitoresque (a la hp) program for aix.  this
  screen-based program displays processes, attributes of a specified
  process, swap space usage, network usage, disk io, and just about any
  other thing someone might want to monitor.  it is useful for
  system administrators and programmers alike (it's great for pointing
  out memory leaks or unclosed file descriptors).  screens are updated
  every second (by default).  does anyone know of such an animal for
  aix?

-- 
						--bw
-----
Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler>
Heidelberg Red Barons Ultimate Frisbee Team

jmaki@vipunen.hut.fi (Jussi M{ki) (05/25/91)

I was just going to announce my monitor program in this weekend.

I've been making one of a kind monitor for AIX3.1. It's named monitor
and first level version (v1.01) is available from anonymous ftp-site
ftp.funet.fi (128.214.6.100) in directory pub/unix/AIX/RS6000.

Monitor shows cpu distribution, runnable processes, loadavg,
free&total real and virtual memory, paging information, system calls
(read,write,exec,fork), file-io status, tty-io, physical disk reads,
writes and busylevel and finally network writes and reads.

The loadavg part and user interface part is not quite perfect yet but
I'm going to change it.  Anyway, you can get this program and use it
as it is.

Sample output of monitor v1.01 while ftp:ing big file between two rs/6000s.
------------------------------------------------------------------------------
System monitor 1.01: vipunen.hut.fi               Fri May 24 15:33:44 1991

Sys 62.4% Wait  5.9% User 28.8% Idle  2.9%
0%             25%              50%               75%              100%
============================================WWWW>>>>>>>>>>>>>>>>>>>>..

Runnable processes  2.33  load average:  1.30,  1.16,  0.41
Swap-in processes   0.00
                                Paging (4kB)    Process events   FILE/TTY-IO
Memory    Real     Virtual      329.2 pgfaults    761 pswitch     785 iget
free     15.9 MB  199.4 MB       66.8 pgin       1867 syscall     385 namei
total   128.0 MB  256.0 MB        0.0 pgout       251 read         11 dirblk
                                  0.0 pgsin       377 write    298179 readch
DiskIO   read    write   busy     0.0 pgsout        4 fork     271103 writech
hdisk0    0.0   0.0 kB/s   0%                       4 exec         10 ttyrawch
hdisk1    0.0   0.0 kB/s   0%                       0 rcvint        0 ttycanch
hdisk4    3.9   2.0 kB/s   4%                       4 xmtint      647 ttyoutch
hdisk2    0.0 265.3 kB/s  37%                       0 mdmint

                                                    Netw  read   write
                                                    lo     0.0   0.0 kB/s
                                                    en   276.5   7.9 kB/s

------------------------------------------------------------------------------
BTW: Has anybody made a working version of top-program for aix3.1 ?

Jussi Maki (M\"aki)                        | Internet: jmaki@vipunen.hut.fi
Helsinki University of Technology, Finland | Bitnet:   jmaki@fingate.bitnet
Computing Centre                           | Voice:    + 358 - 0 - 451 4317
Systems Support Division                   | Telefax:  + 358 - 0 - 464 788

vanepp@newsserver.sfu.ca (Peter Van Epp) (05/26/91)

In <JMAKI.91May25090950@vipunen.hut.fi> jmaki@vipunen.hut.fi (Jussi M{ki) writes:


>I was just going to announce my monitor program in this weekend.

>I've been making one of a kind monitor for AIX3.1. It's named monitor
>and first level version (v1.01) is available from anonymous ftp-site
>ftp.funet.fi (128.214.6.100) in directory pub/unix/AIX/RS6000.

... stuff deleted

>------------------------------------------------------------------------------
>BTW: Has anybody made a working version of top-program for aix3.1 ?

>Jussi Maki (M\"aki)                        | Internet: jmaki@vipunen.hut.fi
>Helsinki University of Technology, Finland | Bitnet:   jmaki@fingate.bitnet
>Computing Centre                           | Voice:    + 358 - 0 - 451 4317
>Systems Support Division                   | Telefax:  + 358 - 0 - 464 788

    I have sucked a copy across the Atlantic and made it availible for
    anon ftp (after unpacking and running it to make sure I got it
    right!). It is availible from:

    mts.sfu.ca
    login: anonymous
    password: your_id
    binary
    get tsup:monitor-1.01 monitor-1.01.tar.Z

    Note that this is an IBM mainframe (running MTS) so the file name
    gets truncated slightly. As well the wildcard character is a ? not
    a * . Either cd tsup:  followed by ls ? or ls tsup:? will get you
    a file listing if you want one for something (like me messing up the
    file name for instance!). The links into Canada from the  NFS net
    are also only 56K so if some U.S. site would like to pick this up
    as well that would be great!