1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
|
xmeter displays a histogram of data returned by rstat(3). It can be
told to monitor multiple hosts, or to monitor multiple statistics on the
same host.
Copyright (c) 1994, Bob Schwartzkopf
Permission to use, copy, modify and distribute this software and its
documentation for any purpose is hereby granted without fee, provided
that the above copyright notice appear in all copies and that both the
copyright notice and this permission notice appear in supporting
documentation, and that the name of the RAND Corporation not be used
in advertising or publicity pertaining to distribution of the software
without specific, written prior permission. The RAND Corporation
makes no representations about the suitability of this software for
any purpose. It is provided "as is" without express or implied
warranty.
The X Consortium, and any party obtaining a copy of these files from
the X Consortium, directly or indirectly, is granted, free of charge, a
full and unrestricted irrevocable, world-wide, paid up, royalty-free,
nonexclusive right and license to deal in this software and
documentation files (the "Software"), including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons who receive
copies from any such party to do so. This license includes without
limitation a license to do the foregoing actions under any patents of
the party supplying this software to the X Consortium.
Author: Bob Schwartzkopf (bobs@rand.org)
The RAND Corporation
1700 Main Street
Santa Monica, CA 90407-2138
Edit history
Many of these patches were contributed by others. Any errors
caused by these patches are undoubtedly due to my mistakes,
not theirs.
Patchlevel 14
- Removed call to bcopy().
- Fixed bug in quit() that caused core dumps.
Patchlevel 13
- Make port in getport() unsigned. getport() returned bogus
port numbers when remote rstatd was using ports >= 2^15.
Prevented xmeter from working on solaris 2.
Thanks to George Ross <gdmr@dcs.ed.ac.uk>.
- Added support for f.delete. Thanks to
Ofer Licht <ofer@gandalf.Berkeley.EDU>.
Patchlevel 12
- Put vfork() back in, Andreas Stolcke <stolcke@ISCI.Berkeley.EDU>
showed me how to do this portably by checking HasVFork in the
Imakefile.
- Miscellaneous changes to get xmeter to compile cleanly on SGI
machines.
- Provide own strdup() function for systems that don't have one
in their C library.
- Added README.DYNIX file to distribution, thanks to
Christian A. Ratliff <ratlifc@indikos.cron.com>
Patchlevel 11
- Fix bug in fdisks(), dk_xfer[] is dimensioned at 4, not DK_NDRIVE.
- Include <X11/Xos.h> instead of various other files, hopefully
will make xmeter more portable.
- Changed vfork() to fork(). It's not called too often, and
on some systems (sgi?) it doesn't exist. This change and the
previous are from
Christian A. Ratliff <ratlifc@indikos.cron.com>
- Don't destroy popup widget in popdownscale() if it's NULL. Thanks
to:
Jim Meyering <meyering@idefix.comco.com>
- Include <sys/dk.h> on hpux. Thanks to
Jim Dempsey <jjd@bbn.com>
Patchlevel 10
- Use sigset(3) instead of signal(3) on SVR4, apparently works
better with Solaris 2.2. Thanks to:
George D M Ross <gdmr@dsc.ed.ac.uk>
Patchlevel 9
- Have child processes exit if parent has gone away, thanks to:
Ken Lalonde <ken@cs.toronto.edu>
John Hanna <jhanna@mermaid.micro.umn.edu>
Patchlevel 8
The following people have contributed patches to this release,
for which I express my gratitude. Any bugs in these patches
were introduced by me.
Anthony A. Datri (datri@concave.convex.com)
Davin Milun (milun@cs.buffalo.edu)
Dan Reynolds (dan@chpc.utexas.edu)
- Added option to display current value in label of each meter.
- Added quit option to stat menu.
- Redid application resource handling in a more portable way.
- Use real hostnames instead of names with domains stripped
off when comparing hostnames.
- Redid child process cleanup in a (hopefully) more portable
way.
- Added stat name as a fourth argument to alert programs.
- Fixed divide by zero bug in functions that return stat values.
Patchlevel 7
- Add composite stats for total packets, disk accesses, total
pages paged in and out, and total swaps.
- Display version, scale and downtime, if appropriate, if mouse
button pushed while pointer is in stripchart.
- Fixed bugs when determining if host is down.
Patchlevel 6
- Clear stripcharts when monitored statistic is changed.
- Allow setting of monitored stat in .Xdefaults.
- Added -v option to display version number.
- Fork new process to wait for dead host to come back up.
Patchlevel 5
- Put explict closes of sockets back in after clnt_destroy().
Apparently some versions of clnt_destroy don't close the
socket.
- Minor changes to XMeter.ad.
Patchlevel 4
- Allow user to specify foreground, border, internal border and
highlight color for each level.
- Fixed bug in determining width/height of form widget.
- Allow user to specify label foreground and background colors
independently of stripcharts.
- Made all colors either class Foreground or Background, should
simplify .Xdefaults files.
Patchlevel 3
- Added "cols" and "rows" options, allows rectangular
layout of graphs. Removed "orientation" option.
- Backgrounds of stripcharts can now be set to user specified
bitmaps with "*Bitmap" resources.
- Added op, wp, ep and fp options, which takes a program name as an
argument. When a graph enters state OK, WARN, ERROR or FATAL, the
specified program is invoked.
- Added menus which allow the monitored statistic to be changed
on the fly.
Patchlevel 2
- Changed resource name of paned widgets to host name.
- Used actual time between rstat(3) calls instead of "update"
interval for computing graph values.
- Rewrote functions that return graph values.
- Fixed divide by 0 errors in fcpu(), fsys() and fuser().
- Use RSTATVERS_TIME instead of RSTATVERS.
Patchlevel 1
- Fixed memory leak.
|