Performance monitor update

jct jct at jct.UUCP
Fri Jun 16 11:22:49 AEST 1989


To those of you whose expressed interest in the system performance monitor
I offered a little while back (about 10 of you), the summary is that most 
people are interested in a 386 Xenix version. Therefore, I have decided to
post the source to comp.unix.sources (as soon as I can figure out how!).
I suppose it will take a couple of weeks. The posted source will run as is 
for 286 Xenix. There will be some notes on whats involved in porting, it is 
not difficult but its more than a casual C programmer can do... I can
offer further help if necessary, but I don't have a 386 so I can only do
so much.

As a bonus, you will also be getting a greatly improved "curses" type
system and help system with screen and non-screen (scroll from the
bottom) modes. I am really dissapointed in the so called user friendly
public domain programs I've seen up to now, this should help.

As I said there are several people interested in porting to 386 Xenix.
All the offers included willingness to send me back the "diffs" (thats
good!). I suppose some method should be used to keep all the 386 versions
compatible, someway to coordinate the porting to different systems. Any
ideas? I would like to make the 386 (and any other) version public as well. 

BTW, I only have this little bitty 286 AT. Some people have expressed
difficulty in locating me in the uucp maps (I wonder why, isn't Oklahoma
the center of the universe?). I thought I had posted my system. Oh well,
try occrsh!jct!jct.

To keep you all interested, heres a sampling of what you will get when done.
These are actual screen images saved to a file. Note that the screen will
actually show continuous lines and the '*'s are reverse video spaces (these
are not true ASCII characters so I approximate when writing to a file). There
will also be color of course!

                            *System*Monitor*Menu*       18:37 Fri, Jun  2, 1989


           A : CPU Monitor
           B : Disk Monitor
           C : I/O Monitor
           D : Capacity Monitor
           E : Miscellaneous Monitor
           F : User Process Monitor
           G : Top CPU Process Monitor













*(Q)uit*or*selection*

                                *CPU*Monitor*           18:38 Fri, Jun  2, 1989

  +-( 59)---------------------------+     +-(  8)---------------------------+
  | *******************             |     | **                              |
  | +-----+-----+-----+-----+-----+ |     | +-----+-----+-----+-----+-----+ |
  | 0     20    40    60    80   100|     | 0     20    40    60    80   100|
  +----------- % CPU Idle ----------+     +----------- % Wait I/O ----------+


  +-( 19)---------------------------+     +-( 47)---------------------------+
  | *******                         |     | ***************                 |
  | +-----+-----+-----+-----+-----+ |     | +-----+-----+-----+-----+-----+ |
  | 0     20    40    60    80   100|     | 0     20    40    60    80   100|
  +----------- % CPU User ----------+     +---------- % Wait Swap ----------+


  +-( 21)---------------------------+     +-(  0)---------------------------+
  | ******                          |     |                                 |
  | +-----+-----+-----+-----+-----+ |     | +-----+-----+-----+-----+-----+ |
  | 0     20    40    60    80   100|     | 0     20    40    60    80   100|
  +---------- % CPU System ---------+     +------ % Wait Physical I/O ------+


*(Q)uit,*(T)op,*(W)hen*or*<SPACE>*to*backup*

                              *Capacity*Monitor*        18:38 Fri, Jun  2, 1989

  +-(    345600)--------------------+     Wait count    : 0
  | ***********                     |     Free mem size : 107520
  | +-----+-----+-----+-----+-----+ |                     84480
  | 0   200K  400K  600K  800K    1M|                     74240
  +------ Free Memory in Bytes -----+                     39424
                                                          22528

  +-(        11)-------(        60)-+     +-(        11)-------(        40)-+
  | ****                            |     | ****                            |
  | +-----+-----+-----+-----+-----+ |     | +-----+-----+-----+-----+-----+ |
  | 0     20    40    60    80   100|     | 0     20    40    60    80   100|
  +--------- Process Count ---------+     +---- Open Text Segment Count ----+


  +-(        20)-------(       100)-+     +-(        33)-------(       100)-+
  | *******                         |     | ***********                     |
  | +-----+-----+-----+-----+-----+ |     | +-----+-----+-----+-----+-----+ |
  | 0     20    40    60    80   100|     | 0     20    40    60    80   100|
  +-------- Open File Count --------+     +-------- Open Inode Count -------+


*(Q)uit,*(T)op,*(W)hen*or*<SPACE>*to*backup*

                              *Top*CPU*Monitor*         18:39 Fri, Jun  2, 1989

                            +------------------------------------------------+
  A : idle                  | ************************************           |
                            |                                                |
  B : sh               1639 | *****                                          |
                            |                                                |
  C : sh               1638 | **                                             |
                            |                                                |
  D : monitor          1620 |                                                |
                            |                                                |
                            |                                                |
                            |                                                |
                            |                                                |
                            |                                                |
                            |                                                |
                            |                                                |
                            |                                                |
                            | +--------+--------+--------+--------+--------+ |
                            | 0        20       40       60       80      100|
                            +--------------- % CPU Utilization --------------+


*(Q)uit,*(T)op,*(W)hen,*<SPACE>*to*backup*or*selection*

 User - jct              *User*Process*Monitor*Menu*    18:39 Fri, Jun  2, 1989


           A : 38    -      - sh
           B : 39    -      - sh
           C : 1620  -   8% - monitor
           D : 1639  -      - uucico
           E : 1638  -      - sh
           F : 1640  -      - dialHA24














*(Q)uit,*(T)op,*(U)ser,*(W)hen,*(Z)ap,*<SPACE>*to*backup*or*selection*

 39 - sh                      *Process*Monitor*         18:40 Fri, Jun  2, 1989

  +-(  0)---------------------------+     Start Time      : 18:19:41
  |                                 |     Start Date      : Fri, May 26, 1989
  | +-----+-----+-----+-----+-----+ |     User ID         : jct, jct
  | 0     20    40    60    80   100|     Group ID        : psm, psm
  +----------- % CPU User ----------+     TTY             : tty02
                                          Parent PID      : 1
                                          Process Group   : 39
  +-(  0)---------------------------+     Process Status  : Sleeping
  |                                 |     Process Flags   : Loaded Valid
  | +-----+-----+-----+-----+-----+ |     Priority        : 28, 20
  | 0     20    40    60    80   100|     Run Time        : 606038
  +---------- % CPU System ---------+     Total CPU Time  : 7          - 0%
                                          CPU User Time   : 2          - 0%
                                          CPU Sys Time    : 4          - 0%
  +-(         0)--------------------+     Open Files      : 3
  |                                 |     Block Reads     : 88
  | +-----+-----+-----+-----+-----+ |     Block Writes    : 89
  | 0     2     4     6     8     10|     I/O Count       : 28384
  +------- I/O Chars / Second ------+     Curr Dir I-node : 1518
                                          Root Dir I-node : 0

*(Q)uit,*(T)op,*(S)witch,*(W)hen,*(Z)ap*or*<SPACE>*to*backup*

 39 - sh                      *Process*Monitor*         18:40 Fri, Jun  2, 1989

  Umask Value     : -------w-                         Open File Status
  Ulimit Value    : 2097152                  Fid Typ Mode Cnt Offset     I-node
  Text Size       : 34816/2                  0   C   RW   3   239175     117
  Data Size       : 14336                    1   C   RW   3   239175     117
  Stack Size      : 25088                    2   C   RW   3   239175     117
  Pending Signals : None
  Time to Alarm   : 0

  Signal Hangup             Trapped
  Signal Interrupt          Trapped
  Signal Quit               Ignored
  Signal Illegal instruct   Trapped
  Signal Trace trap         Trapped
  Signal IOT                Trapped
  Signal EMT                Trapped
  Signal FP error           Trapped





*(Q)uit,*(T)op,*(S)witch,*(W)hen,*(Z)ap*or*<SPACE>*to*backup*

John C. Tompkins
4616 NW 59th St.
Oklahoma City, OK 73122
(405) 728-1208
occrsh!jct!jct



More information about the Comp.unix.xenix mailing list