[comp.windows.x] pre-beta release of xsysmon

rusty@BELCH.BERKELEY.EDU (rusty wright) (06/23/89)

On expo.lcs.mit.edu in the ftp contrib directory I've placed the file
xsysmon.shar.  If you can't ftp, sorry.  Please don't ask me to mail
it to you.

This is a beta release of "xsysmon".  No Imakefile, no man page, just
the code.  Be sure and install its app-defaults file (XSysmon.ad) or
it will be useless.  Please try it out and send me bugs reports,
suggestions, etc.

xsysmon is intended to be a replacement for xperfmon.

xperfmon has various things about it that I don't like so I decided to
try redoing it using the Athena Widgets Load widget.  In order to get
it to work the way I wanted it to I had to modify the Load widget:

(*) It doesn't draw the horizontal lines, because for some things
which have a high "level" it would draw so many of them that it became
worthless.

(*) I deleted the text resource, and instead of printing the host name
there I print the maximum value displayed.  This is still not
satisfactory because some things stay continuously high and it gets
overwritten.  If anybody has something better than the load widget for
displaying this kind of continuous data please let me know.

(*) In the Load widget I deleted the code that determines the load
average.  (It shouldn't have been inside the load widget anyways.)

xsysmon uses the Athena Widgets.  Everything is pretty much
configurable via resources.  Like xperfmon you can specify which
things to not show via command line options: -userCpu, -systemCpu,
-idleCpu, -freeMem, -diskTrans, -interrupts -inputPack, -outputPack,
and -collPack.  The command line options correspond to the resources
that you can fiddle with in your .Xdefaults file; look at the
XSysmon.ad file for the big picture.

I have only tried it on a DECstation 3100 running Ultrix 3.0 and a Sun
3/50 running SunOS 3.5.