summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-02-21 20:26:39 +0000
committersteve <steve@FreeBSD.org>1998-02-21 20:26:39 +0000
commitbfcf39f95c5c5ca86261bfa76a722d144efe0a12 (patch)
treea908d601e23339cda8a7da34f3e66b845765aa7b /sysutils
parent05688690e1344c0e3fa11162c78b46a15f999707 (diff)
downloadFreeBSD-ports-bfcf39f95c5c5ca86261bfa76a722d144efe0a12.zip
FreeBSD-ports-bfcf39f95c5c5ca86261bfa76a722d144efe0a12.tar.gz
Update the maintainer's E-mail address and make this compile
again on both -current and -stable. PR: 5438 Submitted by: the maintainer of this port and myself
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xperfmon/Makefile6
-rw-r--r--sysutils/xperfmon/files/freebsd_system.c30
-rw-r--r--sysutils/xperfmon/files/patch-aa30
-rw-r--r--sysutils/xperfmon/files/patch-ab289
-rw-r--r--sysutils/xperfmon3/Makefile6
-rw-r--r--sysutils/xperfmon3/files/freebsd_system.c30
-rw-r--r--sysutils/xperfmon3/files/patch-aa30
-rw-r--r--sysutils/xperfmon3/files/patch-ab289
8 files changed, 582 insertions, 128 deletions
diff --git a/sysutils/xperfmon/Makefile b/sysutils/xperfmon/Makefile
index 32c980a..7261bee 100644
--- a/sysutils/xperfmon/Makefile
+++ b/sysutils/xperfmon/Makefile
@@ -1,9 +1,9 @@
# New ports collection makefile for: xperfmon++ V1.40
# Version required: 1.1
# Date created: 14 March 97
-# Whom: Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE>
+# Whom: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
#
-# $Id: Makefile,v 1.13 1997/03/18 07:34:23 asami Exp $
+# $Id: Makefile,v 1.12 1997/03/15 12:32:52 asami Exp $
#
DISTNAME= xperfmon++
@@ -14,7 +14,7 @@ CATEGORIES= sysutils x11
MASTER_SITES= ftp://proteus.arc.nasa.gov/pub/
DISTFILES= xperfmon++v1.1.tar.Z
-MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE
+MAINTAINER= Lars_Koeller@odie.physik2.uni-rostock.de
USE_IMAKE= yes
diff --git a/sysutils/xperfmon/files/freebsd_system.c b/sysutils/xperfmon/files/freebsd_system.c
index 2d3f233..f819665 100644
--- a/sysutils/xperfmon/files/freebsd_system.c
+++ b/sysutils/xperfmon/files/freebsd_system.c
@@ -5,7 +5,7 @@
* Copyright 1989, PCS Computer Systeme GmbH, West Germany
* Copyright 1994, Sterling Software @ NASA-Ames Research Center
* Copyright 1995, Regents of the University of California,
- * Lars Köller <Lars_Koeller@odie.physik2.uni-rostock.de
+ * Lars Köller <Lars.Koeller@Uni-Bielefeld.DE>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@ -21,7 +21,7 @@
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL PCS & STERLING SOFTWARE
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Original Author: Emanuel Jay Berkenbilt, MIT Project Athena
@@ -30,15 +30,15 @@
* 1994 Revision
* Author: Roger Smith, Sterling Software @ NASA-Ames Research Center
* Moffett Field, California, rsmith@proteus.arc.nasa.gov
- * 1995 FreeBSD 2.x Version
- * Author: Lars Koeller, Univerity of Rostock, Germany
- * Lars_Koeller@odie.physik2.uni-rostock.de
+ * 1995, ... FreeBSD 2.x, 3.x Version
+ * Author: Lars Köller, Univerity of Bielefeld, Germany
+ * Lars.Koeller@Uni-Bielefeld.DE
*/
/* This file contains only system functions - that is the functions that
* get the information the performance monitor is monitoring. No calls
* to any X routines should be made here. The reason for doing this is
- * so that as the X toolkit becomes available and the X window system
+ * so that as the X toolkit becomes available and the X window system
* improves no changes will have to be made to this file, and as this
* program is made available for a new type of machine, only this file
* will need to be changed.
@@ -79,16 +79,16 @@
#include <vm/vm.h>
#include <sys/time.h>
#include <net/if.h>
-#if __FreeBSD_version >= 300000
-# include <net/if_var.h>
+#if defined(__FreeBSD__) && __FreeBSD__ >= 3
+#include <net/if_var.h>
#endif
#include <netinet/in.h>
#include <sys/stat.h>
#include <sys/conf.h>
#include <sys/rlist.h>
#include <sys/mount.h>
-#include <nfs/nfsv2.h>
#include <nfs/rpcv2.h>
+#include <nfs/nfsv2.h>
#include <nfs/nfs.h>
#ifndef CTL_FS
@@ -298,7 +298,7 @@ collect_stats()
nintr = nl[X_EINTRCNT].n_value - nl[X_INTRCNT].n_value;
if ((intrcnt = (unsigned long *) malloc((size_t) nintr)) == NULL)
err(1, "xperfmon++ malloc in collect_stats");
- nintr /= sizeof(long);
+ nintr /= sizeof(long);
kread(X_INTRCNT, intrcnt, (size_t) nintr*sizeof(long));
s1.interrupts = s.interrupts;
s.interrupts = 0;
@@ -390,7 +390,7 @@ collect_stats()
else {
old_nfsStats = nfsStats;
- nfsStats.nfsClient = nfsstats.rpccnt[NFSPROC_GETATTR] +
+ nfsStats.nfsClient = nfsstats.rpccnt[NFSPROC_GETATTR] +
nfsstats.rpccnt[NFSPROC_SETATTR] +
nfsstats.rpccnt[NFSPROC_LOOKUP] +
nfsstats.rpccnt[NFSPROC_READLINK] +
@@ -402,7 +402,7 @@ collect_stats()
nfsstats.rpccnt[NFSPROC_LINK] +
nfsstats.rpccnt[NFSPROC_SYMLINK] +
nfsstats.rpccnt[NFSPROC_MKDIR] +
- nfsstats.rpccnt[NFSPROC_RMDIR] +
+ nfsstats.rpccnt[NFSPROC_RMDIR] +
nfsstats.rpccnt[NFSPROC_READDIR] +
#ifndef HAS_NFS_V3
nfsstats.rpccnt[NFSPROC_STATFS] +
@@ -418,7 +418,7 @@ collect_stats()
nfsstats.rpccnt[NQNFSPROC_VACATED] +
nfsstats.rpccnt[NQNFSPROC_EVICTED];
- nfsStats.nfsServer = nfsstats.srvrpccnt[NFSPROC_GETATTR] +
+ nfsStats.nfsServer = nfsstats.srvrpccnt[NFSPROC_GETATTR] +
nfsstats.srvrpccnt[NFSPROC_SETATTR] +
nfsstats.srvrpccnt[NFSPROC_LOOKUP] +
nfsstats.srvrpccnt[NFSPROC_READLINK] +
@@ -430,7 +430,7 @@ collect_stats()
nfsstats.srvrpccnt[NFSPROC_LINK] +
nfsstats.srvrpccnt[NFSPROC_SYMLINK] +
nfsstats.srvrpccnt[NFSPROC_MKDIR] +
- nfsstats.srvrpccnt[NFSPROC_RMDIR] +
+ nfsstats.srvrpccnt[NFSPROC_RMDIR] +
nfsstats.srvrpccnt[NFSPROC_READDIR] +
#ifndef HAS_NFS_V3
nfsstats.srvrpccnt[NFSPROC_STATFS] +
@@ -504,7 +504,7 @@ kread(nlx, addr, size)
size_t size;
{
char *sym;
-
+
if (nl[nlx].n_type == 0 || nl[nlx].n_value == 0) {
sym = nl[nlx].n_name;
if (*sym == '_')
diff --git a/sysutils/xperfmon/files/patch-aa b/sysutils/xperfmon/files/patch-aa
index e8ade8d..b4a0fb0 100644
--- a/sysutils/xperfmon/files/patch-aa
+++ b/sysutils/xperfmon/files/patch-aa
@@ -1,6 +1,6 @@
-diff -c -N ../xperfmon++/StripCharP.h ./StripCharP.h
+diff -ca ../xperfmon++/StripCharP.h ./StripCharP.h
*** ../xperfmon++/StripCharP.h Wed Jul 27 22:29:30 1994
---- ./StripCharP.h Tue Dec 5 09:31:56 1995
+--- ./StripCharP.h Sun Dec 21 23:03:44 1997
***************
*** 62,71 ****
#define HIGHLIGHT 1 << 1
@@ -26,9 +26,9 @@ diff -c -N ../xperfmon++/StripCharP.h ./StripCharP.h
Pixel fgpixel; /* color index for graph */
Pixel hipixel; /* color index for lines */
Pixel warnColor;
-diff -c -N ../xperfmon++/StripChart.c ./StripChart.c
+diff -ca ../xperfmon++/StripChart.c ./StripChart.c
*** ../xperfmon++/StripChart.c Wed Jul 27 22:29:30 1994
---- ./StripChart.c Fri Mar 14 13:31:42 1997
+--- ./StripChart.c Sun Dec 21 23:03:44 1997
***************
*** 53,58 ****
--- 53,70 ----
@@ -251,9 +251,9 @@ diff -c -N ../xperfmon++/StripChart.c ./StripChart.c
x = 4;
XDS(w->strip_chart.botLabel);
}
-diff -c -N ../xperfmon++/TimeChart.c ./TimeChart.c
+diff -ca ../xperfmon++/TimeChart.c ./TimeChart.c
*** ../xperfmon++/TimeChart.c Wed Jul 27 22:29:31 1994
---- ./TimeChart.c Fri Mar 14 13:30:16 1997
+--- ./TimeChart.c Sun Dec 21 23:03:44 1997
***************
*** 47,52 ****
--- 47,62 ----
@@ -273,9 +273,9 @@ diff -c -N ../xperfmon++/TimeChart.c ./TimeChart.c
#include <stdio.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
-diff -c -N ../xperfmon++/TimeChart.h ./TimeChart.h
+diff -ca ../xperfmon++/TimeChart.h ./TimeChart.h
*** ../xperfmon++/TimeChart.h Wed Jul 27 22:29:31 1994
---- ./TimeChart.h Mon Oct 30 12:53:59 1995
+--- ./TimeChart.h Sun Dec 21 23:03:45 1997
***************
*** 88,99 ****
#define XtCFillRect "FillRect"
@@ -303,9 +303,9 @@ diff -c -N ../xperfmon++/TimeChart.h ./TimeChart.h
#define XtNvmunix "vmunix"
typedef struct _TimeChartRec *TimeChartWidget;
-diff -c -N ../xperfmon++/misc.c ./misc.c
+diff -ca ../xperfmon++/misc.c ./misc.c
*** ../xperfmon++/misc.c Wed Jul 27 22:29:33 1994
---- ./misc.c Fri Mar 14 13:31:48 1997
+--- ./misc.c Sun Dec 21 23:03:45 1997
***************
*** 22,27 ****
--- 22,38 ----
@@ -343,9 +343,9 @@ diff -c -N ../xperfmon++/misc.c ./misc.c
switch (keycode) {
case 'Q':
case 'q':
-diff -c -N ../xperfmon++/system.h ./system.h
+diff -ca ../xperfmon++/system.h ./system.h
*** ../xperfmon++/system.h Wed Jul 27 22:29:34 1994
---- ./system.h Fri Mar 14 13:16:19 1997
+--- ./system.h Sun Dec 21 23:03:45 1997
***************
*** 151,168 ****
--- 151,182 ----
@@ -413,9 +413,9 @@ diff -c -N ../xperfmon++/system.h ./system.h
"Calls",
+ #endif
};
-diff -c -N ../xperfmon++/xperfmon.c ./xperfmon.c
+diff -ca ../xperfmon++/xperfmon.c ./xperfmon.c
*** ../xperfmon++/xperfmon.c Wed Jul 27 22:29:39 1994
---- ./xperfmon.c Fri Mar 14 13:30:50 1997
+--- ./xperfmon.c Sun Dec 21 23:03:45 1997
***************
*** 58,63 ****
--- 58,73 ----
@@ -536,7 +536,7 @@ diff -c -N ../xperfmon++/xperfmon.c ./xperfmon.c
usage()
{
+ #if (defined(BSD) && (BSD >= 199306))
-+ fprintf(stderr, "\nxperfmon++ V1.33 for FreeBSD-2.X\n");
++ fprintf(stderr, "\nxperfmon++ V1.40 for FreeBSD-2.X and 3.X\n");
+ #endif
fprintf(stderr, "\nusage: xperfmon++ option option option .....\n");
fprintf(stderr, "options:\n");
diff --git a/sysutils/xperfmon/files/patch-ab b/sysutils/xperfmon/files/patch-ab
index f44906a..42bd33d 100644
--- a/sysutils/xperfmon/files/patch-ab
+++ b/sysutils/xperfmon/files/patch-ab
@@ -1,6 +1,6 @@
-diff -c -N ../xperfmon++/Imakefile ./Imakefile
+diff -ca ../xperfmon++/Imakefile ./Imakefile
*** ../xperfmon++/Imakefile Wed Jul 27 22:29:29 1994
---- ./Imakefile Fri Mar 14 13:29:51 1997
+--- ./Imakefile Sun Dec 21 23:03:44 1997
***************
*** 17,31 ****
SYS_MODULE= sgi_system
@@ -41,22 +41,23 @@ diff -c -N ../xperfmon++/Imakefile ./Imakefile
ComplexProgramTarget(xperfmon++)
-diff -c -N ../xperfmon++/README ./README
+diff -ca ../xperfmon++/README ./README
*** ../xperfmon++/README Wed Jul 27 22:29:30 1994
---- ./README Fri Mar 14 13:59:13 1997
+--- ./README Sun Dec 21 23:03:44 1997
***************
*** 18,20 ****
---- 18,61 ----
+--- 18,52 ----
Research Center, rsmith@proteus.arc.nasa.gov. Imake will build for correct
O/S if x11r5 is fully installed in all the right places.
-+ 3-15-95 Completely new port of systemdependent file (freebsd_system.c) for FreeBSD-2.X
++
++ 3-15-95 Completely new port of systemdependent file (bsd_system.c) for FreeBSD-2.X
+ by Lars Köller @University of Rostock, Germany.
+ E-Mail: <lars.koeller@odie.physik2.uni-rostock.de>
+
+ 8-16-95 Quick and dirty workaround of -geometry option bug.
+ But there are still some side effects when changing the geometry.
-+ Fix memory leak in freebsd_system.c
++ Fix memory leak in bsd_system.c
+ by Lars Köller @University of Rostock, Germany.
+ E-Mail: <lars.koeller@odie.physik2.uni-rostock.de>
+
@@ -81,19 +82,9 @@ diff -c -N ../xperfmon++/README ./README
+ FreeBSD-current (2.2, changes in get_swapspace)
+ by Lars Köller @University of Rostock, Germany.
+ E-Mail: <Lars_Koeller@odie.physik2.uni-rostock.de>
-+
-+ 3-14-97 Fix some problems with changed structures in 3.0,
-+ clean up the FreeBSD version numbers #if's.
-+ Now xperfmon++ should compile from FreeBSD-2.0 up to 3.0-current
-+ by Lars Köller @University of Rostock, Germany.
-+ E-Mail: <Lars_Koeller@odie.physik2.uni-rostock.de>
-+ Jörg Wunsch, FreeBSD core team menber, Germany
-+ E-Mail: <joerg_wunsch@uriah.heep.sax.de>
-+ <joerg@FreeBSD.ORG>
-+
-diff -c -N ../xperfmon++/XPerfmon++.ad ./XPerfmon++.ad
+diff -ca ../xperfmon++/XPerfmon++.ad ./XPerfmon++.ad
*** ../xperfmon++/XPerfmon++.ad Wed Jul 27 22:29:32 1994
---- ./XPerfmon++.ad Tue Dec 5 09:32:54 1995
+--- ./XPerfmon++.ad Sun Dec 21 23:03:45 1997
***************
*** 4,27 ****
! commented out, the "NFS Server" graph background will be the application
@@ -158,9 +149,93 @@ diff -c -N ../xperfmon++/XPerfmon++.ad ./XPerfmon++.ad
! *perfChartNFSServer.highAlarm: 200
*font: 6x13
+
-diff -c -N ../xperfmon++/xperfmon++.man ./xperfmon++.man
+ diff -ca ../xperfmon++/xperfmon++.man ./xperfmon++.man
*** ../xperfmon++/xperfmon++.man Wed Jul 27 22:29:39 1994
---- ./xperfmon++.man Fri Mar 14 14:02:29 1997
+--- ./xperfmon++.man Sun Dec 21 23:03:45 1997
+***************
+*** 20,51 ****
+ The program can produce a filled graph or a line graph and the update interval can be set in
+ seconds or 100-millisecond intervals.
+ .PP
+! While
+ .I xperfmon++
+ is running, it is possible to perform certain tasks by pressing keys over
+ the window:
+ .PP
+ .br
+! .B Q/q:
+ Quit... Exit gracefully
+ .br
+! .B l | L:
+ Print out a chart of all current limit settings. This chart will appear in the
+ window from which xperfmon++ was invoked.
+ .br
+! .B s:
+ Decrease update interval (slower) by a small amount
+ .br
+! .B S:
+ Decrease update interval (slower) by a large amount
+ .br
+! .B f:
+ Increase update interval (faster) by a small amount
+ .br
+! .B F:
+ Increase update interval (faster) by a large amount
+ .br
+! .B ?:
+ Help
+ .SH OPTIONS
+ .PP
+--- 20,51 ----
+ The program can produce a filled graph or a line graph and the update interval can be set in
+ seconds or 100-millisecond intervals.
+ .PP
+! While
+ .I xperfmon++
+ is running, it is possible to perform certain tasks by pressing keys over
+ the window:
+ .PP
+ .br
+! .B Q/q:
+ Quit... Exit gracefully
+ .br
+! .B l | L:
+ Print out a chart of all current limit settings. This chart will appear in the
+ window from which xperfmon++ was invoked.
+ .br
+! .B s:
+ Decrease update interval (slower) by a small amount
+ .br
+! .B S:
+ Decrease update interval (slower) by a large amount
+ .br
+! .B f:
+ Increase update interval (faster) by a small amount
+ .br
+! .B F:
+ Increase update interval (faster) by a large amount
+ .br
+! .B ?:
+ Help
+ .SH OPTIONS
+ .PP
+***************
+*** 79,85 ****
+ .PP
+ The following options specify the list of statistics to be displayed.
+ If none are present on the command line, then all statistics are displayed.
+! If any "+" options are listed the default list is cleared and only those
+ listed as "+" options are displayed.
+ If any "-" options are listed, then they are taken away from the
+ default list. Specifying both "-" and "+" options will produce unpredictable
+--- 79,85 ----
+ .PP
+ The following options specify the list of statistics to be displayed.
+ If none are present on the command line, then all statistics are displayed.
+! If any "+" options are listed the default list is cleared and only those
+ listed as "+" options are displayed.
+ If any "-" options are listed, then they are taken away from the
+ default list. Specifying both "-" and "+" options will produce unpredictable
***************
*** 94,101 ****
.B \-idlecpu | \+idlecpu
@@ -181,6 +256,65 @@ diff -c -N ../xperfmon++/xperfmon++.man ./xperfmon++.man
.B \-diskxfr | \+diskxfr
Graph \fIDisk Transfers\fP per interval period.
***************
+*** 122,132 ****
+ .sp
+ \fIxperfmon++\fP will accept a number of \fIlimit\fP options. When a data point
+ exceeds a high or low limit the background of that graph changes color to visually reflect
+! the condition. The background color is an indication of the min (low limit) or max (high limit)
+ value currently contained
+ in the graph. When no limit has been exceeded the background color is set to green. If no limits have
+! been set for that graph its background color remains the same as the applications default color,
+! which is usually white.
+ .PP
+ WARNING: High and Low limits are mutually exclusive, i.e., you can set high limits or low limits, but
+ not both. If both are inadvertently set, the high limits are checked first, and the low limit will be
+--- 122,132 ----
+ .sp
+ \fIxperfmon++\fP will accept a number of \fIlimit\fP options. When a data point
+ exceeds a high or low limit the background of that graph changes color to visually reflect
+! the condition. The background color is an indication of the min (low limit) or max (high limit)
+ value currently contained
+ in the graph. When no limit has been exceeded the background color is set to green. If no limits have
+! been set for that graph its background color remains the same as the applications default color,
+! which is usually white.
+ .PP
+ WARNING: High and Low limits are mutually exclusive, i.e., you can set high limits or low limits, but
+ not both. If both are inadvertently set, the high limits are checked first, and the low limit will be
+***************
+*** 135,141 ****
+ There are four possible \fIlimit\fP conditions:
+ .TP 16
+ .B High Warning
+! When any value in the current graph exceeds the \fIhigh warning\fP limit
+ the background color of that graph is changed to \fIyellow\fP.
+ .TP 16
+ .B Low Warning
+--- 135,141 ----
+ There are four possible \fIlimit\fP conditions:
+ .TP 16
+ .B High Warning
+! When any value in the current graph exceeds the \fIhigh warning\fP limit
+ the background color of that graph is changed to \fIyellow\fP.
+ .TP 16
+ .B Low Warning
+***************
+*** 164,170 ****
+ .TP 26
+ .B \-high*Warn \fIvalue\fP
+ Set high Warning value for *.
+! .PP
+ Where "*" is one of the following:
+ .TP 12
+ .B user
+--- 164,170 ----
+ .TP 26
+ .B \-high*Warn \fIvalue\fP
+ Set high Warning value for *.
+! .PP
+ Where "*" is one of the following:
+ .TP 12
+ .B user
+***************
*** 176,183 ****
.B idle
Set \fIlimit\fP value for Idle CPU Percentage.
@@ -200,6 +334,23 @@ diff -c -N ../xperfmon++/xperfmon++.man ./xperfmon++.man
.B disk
Set \fIlimit\fP value for Disk Transfers.
***************
+*** 206,212 ****
+ Set \fIlow user Alarm\fP value to 25.
+ .PP
+ As with any X-based command line specification you only need specify the minimum number of
+! characters required to make the string unique.
+ See below for a description of setting \fIlimit\fP values using application resource specifications.
+ .SH TOOLKIT OPTIONS
+ .PP
+--- 206,212 ----
+ Set \fIlow user Alarm\fP value to 25.
+ .PP
+ As with any X-based command line specification you only need specify the minimum number of
+! characters required to make the string unique.
+ See below for a description of setting \fIlimit\fP values using application resource specifications.
+ .SH TOOLKIT OPTIONS
+ .PP
+***************
*** 313,320 ****
.B System
Set System CPU Percentage resource.
@@ -219,11 +370,90 @@ diff -c -N ../xperfmon++/xperfmon++.man ./xperfmon++.man
.B Disk
Set Disk Transfer count resource.
***************
-*** 395,398 ****
---- 395,421 ----
+*** 354,366 ****
+ .SH BUGS
+ .I xperfmon++
+ requires the ability to open and read the special system file
+! .I /dev/kmem.
+ On most systems, this requires the
+ .I suid
+ (set user id) bit to be set with root ownership, or the
+ .I sgid
+! (set group id) bit to be set and membership in the same group as
+! .I /dev/kmem.
+ .PP
+ Reading /dev/kmem is inherently non-portable. Therefore, the widget upon
+ which this application is based must be ported to each new operating system.
+--- 354,366 ----
+ .SH BUGS
+ .I xperfmon++
+ requires the ability to open and read the special system file
+! .I /dev/kmem.
+ On most systems, this requires the
+ .I suid
+ (set user id) bit to be set with root ownership, or the
+ .I sgid
+! (set group id) bit to be set and membership in the same group as
+! .I /dev/kmem.
+ .PP
+ Reading /dev/kmem is inherently non-portable. Therefore, the widget upon
+ which this application is based must be ported to each new operating system.
+***************
+*** 371,377 ****
+ by fully covering the xperfmon++ window and then exposing it, or by iconifying the
+ xperfmon++ window and then de-iconifying it.
+ .SH AUTHORS
+! The X11 version of
+ .I xperfmon
+ was written by Emanuel Jay Berkenbilt, Project Athena on
+ 1/21/1988.
+--- 371,377 ----
+ by fully covering the xperfmon++ window and then exposing it, or by iconifying the
+ xperfmon++ window and then de-iconifying it.
+ .SH AUTHORS
+! The X11 version of
+ .I xperfmon
+ was written by Emanuel Jay Berkenbilt, Project Athena on
+ 1/21/1988.
+***************
+*** 381,387 ****
+ was modified by Thomas Bagli, PCS Computer Systeme GmbH, West Germany, to
+ be a toolkit-based client.
+ .PP
+! .I xperfmon++
+ was created from \fIxperfmon\fP, and the Athena StripChart Widget,
+ by Roger Smith, Sterling Software @ NASA-Ames Research Center, Moffett Field, California. Version 1.0
+ was released in January, 1994.
+--- 381,387 ----
+ was modified by Thomas Bagli, PCS Computer Systeme GmbH, West Germany, to
+ be a toolkit-based client.
+ .PP
+! .I xperfmon++
+ was created from \fIxperfmon\fP, and the Athena StripChart Widget,
+ by Roger Smith, Sterling Software @ NASA-Ames Research Center, Moffett Field, California. Version 1.0
+ was released in January, 1994.
+***************
+*** 389,398 ****
+ If you like this program, or if you have difficulties, I would like to hear your comments.
+ E-Mail me at rsmith@proteus.arc.nasa.gov.
+ .PP
+! .I xperfmon++
+ was written for Suns running SunOs and X11R5 Windows software. If some energetic soul
+ out there would like to port this program to any other operating system or architecture I would be
glad to incorporate the modifications into this master copy. Send me your changes via E-Mail at the
above address.
.PP
+ Enjoy!
+--- 389,418 ----
+ If you like this program, or if you have difficulties, I would like to hear your comments.
+ E-Mail me at rsmith@proteus.arc.nasa.gov.
+ .PP
+! .I xperfmon++
+ was written for Suns running SunOs and X11R5 Windows software. If some energetic soul
+ out there would like to port this program to any other operating system or architecture I would be
+ glad to incorporate the modifications into this master copy. Send me your changes via E-Mail at the
+ above address.
++ .PP
+ .I xperfmon++ V1.2 for FreeBSD
+ was written by Lars Koeller with a lot of helpful notes by Joerg Wunsch.
+ .PP
@@ -233,18 +463,15 @@ diff -c -N ../xperfmon++/xperfmon++.man ./xperfmon++.man
+ .PP
+ .I xperfmon++ V1.33 for FreeBSD
+ contains some fixes due to event problems and compiles fine under
-+ FreeBSD 2.2 (changes in get_swapspace).
++ FreeBSD 2.2 (changes in get_swapspace).
+ Now the -geometry switch works well!
-+ Please E-Mail any bugs or comments with the subject
-+ "xperfmon++: ..." to Lars_Koeller@odie.physik2.uni-rostock.de.
+ .PP
+ .I xperfmon++ V1.40 for FreeBSD
+ contains some fixes due to changes in the networking structs and
+ cleans up the FreeBSD version number #if's. Now it should compile fine
-+ from FreeBSD 2.0 up to FreeBSD-3.0-current.
-+ Please E-Mail any bugs or comments with the subject
-+ "xperfmon++: ..." to Lars_Koeller@odie.physik2.uni-rostock.de.
++ from FreeBSD 2.0 up to FreeBSD-3.0-current.
+ .PP
++ Please E-Mail any bugs or comments with the subject
++ "xperfmon++: ..." to Lars.Koeller@Uni-Bielefeld.DE.
+ .PP
Enjoy!
-+
-+
diff --git a/sysutils/xperfmon3/Makefile b/sysutils/xperfmon3/Makefile
index 32c980a..7261bee 100644
--- a/sysutils/xperfmon3/Makefile
+++ b/sysutils/xperfmon3/Makefile
@@ -1,9 +1,9 @@
# New ports collection makefile for: xperfmon++ V1.40
# Version required: 1.1
# Date created: 14 March 97
-# Whom: Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE>
+# Whom: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
#
-# $Id: Makefile,v 1.13 1997/03/18 07:34:23 asami Exp $
+# $Id: Makefile,v 1.12 1997/03/15 12:32:52 asami Exp $
#
DISTNAME= xperfmon++
@@ -14,7 +14,7 @@ CATEGORIES= sysutils x11
MASTER_SITES= ftp://proteus.arc.nasa.gov/pub/
DISTFILES= xperfmon++v1.1.tar.Z
-MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE
+MAINTAINER= Lars_Koeller@odie.physik2.uni-rostock.de
USE_IMAKE= yes
diff --git a/sysutils/xperfmon3/files/freebsd_system.c b/sysutils/xperfmon3/files/freebsd_system.c
index 2d3f233..f819665 100644
--- a/sysutils/xperfmon3/files/freebsd_system.c
+++ b/sysutils/xperfmon3/files/freebsd_system.c
@@ -5,7 +5,7 @@
* Copyright 1989, PCS Computer Systeme GmbH, West Germany
* Copyright 1994, Sterling Software @ NASA-Ames Research Center
* Copyright 1995, Regents of the University of California,
- * Lars Köller <Lars_Koeller@odie.physik2.uni-rostock.de
+ * Lars Köller <Lars.Koeller@Uni-Bielefeld.DE>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@ -21,7 +21,7 @@
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL PCS & STERLING SOFTWARE
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Original Author: Emanuel Jay Berkenbilt, MIT Project Athena
@@ -30,15 +30,15 @@
* 1994 Revision
* Author: Roger Smith, Sterling Software @ NASA-Ames Research Center
* Moffett Field, California, rsmith@proteus.arc.nasa.gov
- * 1995 FreeBSD 2.x Version
- * Author: Lars Koeller, Univerity of Rostock, Germany
- * Lars_Koeller@odie.physik2.uni-rostock.de
+ * 1995, ... FreeBSD 2.x, 3.x Version
+ * Author: Lars Köller, Univerity of Bielefeld, Germany
+ * Lars.Koeller@Uni-Bielefeld.DE
*/
/* This file contains only system functions - that is the functions that
* get the information the performance monitor is monitoring. No calls
* to any X routines should be made here. The reason for doing this is
- * so that as the X toolkit becomes available and the X window system
+ * so that as the X toolkit becomes available and the X window system
* improves no changes will have to be made to this file, and as this
* program is made available for a new type of machine, only this file
* will need to be changed.
@@ -79,16 +79,16 @@
#include <vm/vm.h>
#include <sys/time.h>
#include <net/if.h>
-#if __FreeBSD_version >= 300000
-# include <net/if_var.h>
+#if defined(__FreeBSD__) && __FreeBSD__ >= 3
+#include <net/if_var.h>
#endif
#include <netinet/in.h>
#include <sys/stat.h>
#include <sys/conf.h>
#include <sys/rlist.h>
#include <sys/mount.h>
-#include <nfs/nfsv2.h>
#include <nfs/rpcv2.h>
+#include <nfs/nfsv2.h>
#include <nfs/nfs.h>
#ifndef CTL_FS
@@ -298,7 +298,7 @@ collect_stats()
nintr = nl[X_EINTRCNT].n_value - nl[X_INTRCNT].n_value;
if ((intrcnt = (unsigned long *) malloc((size_t) nintr)) == NULL)
err(1, "xperfmon++ malloc in collect_stats");
- nintr /= sizeof(long);
+ nintr /= sizeof(long);
kread(X_INTRCNT, intrcnt, (size_t) nintr*sizeof(long));
s1.interrupts = s.interrupts;
s.interrupts = 0;
@@ -390,7 +390,7 @@ collect_stats()
else {
old_nfsStats = nfsStats;
- nfsStats.nfsClient = nfsstats.rpccnt[NFSPROC_GETATTR] +
+ nfsStats.nfsClient = nfsstats.rpccnt[NFSPROC_GETATTR] +
nfsstats.rpccnt[NFSPROC_SETATTR] +
nfsstats.rpccnt[NFSPROC_LOOKUP] +
nfsstats.rpccnt[NFSPROC_READLINK] +
@@ -402,7 +402,7 @@ collect_stats()
nfsstats.rpccnt[NFSPROC_LINK] +
nfsstats.rpccnt[NFSPROC_SYMLINK] +
nfsstats.rpccnt[NFSPROC_MKDIR] +
- nfsstats.rpccnt[NFSPROC_RMDIR] +
+ nfsstats.rpccnt[NFSPROC_RMDIR] +
nfsstats.rpccnt[NFSPROC_READDIR] +
#ifndef HAS_NFS_V3
nfsstats.rpccnt[NFSPROC_STATFS] +
@@ -418,7 +418,7 @@ collect_stats()
nfsstats.rpccnt[NQNFSPROC_VACATED] +
nfsstats.rpccnt[NQNFSPROC_EVICTED];
- nfsStats.nfsServer = nfsstats.srvrpccnt[NFSPROC_GETATTR] +
+ nfsStats.nfsServer = nfsstats.srvrpccnt[NFSPROC_GETATTR] +
nfsstats.srvrpccnt[NFSPROC_SETATTR] +
nfsstats.srvrpccnt[NFSPROC_LOOKUP] +
nfsstats.srvrpccnt[NFSPROC_READLINK] +
@@ -430,7 +430,7 @@ collect_stats()
nfsstats.srvrpccnt[NFSPROC_LINK] +
nfsstats.srvrpccnt[NFSPROC_SYMLINK] +
nfsstats.srvrpccnt[NFSPROC_MKDIR] +
- nfsstats.srvrpccnt[NFSPROC_RMDIR] +
+ nfsstats.srvrpccnt[NFSPROC_RMDIR] +
nfsstats.srvrpccnt[NFSPROC_READDIR] +
#ifndef HAS_NFS_V3
nfsstats.srvrpccnt[NFSPROC_STATFS] +
@@ -504,7 +504,7 @@ kread(nlx, addr, size)
size_t size;
{
char *sym;
-
+
if (nl[nlx].n_type == 0 || nl[nlx].n_value == 0) {
sym = nl[nlx].n_name;
if (*sym == '_')
diff --git a/sysutils/xperfmon3/files/patch-aa b/sysutils/xperfmon3/files/patch-aa
index e8ade8d..b4a0fb0 100644
--- a/sysutils/xperfmon3/files/patch-aa
+++ b/sysutils/xperfmon3/files/patch-aa
@@ -1,6 +1,6 @@
-diff -c -N ../xperfmon++/StripCharP.h ./StripCharP.h
+diff -ca ../xperfmon++/StripCharP.h ./StripCharP.h
*** ../xperfmon++/StripCharP.h Wed Jul 27 22:29:30 1994
---- ./StripCharP.h Tue Dec 5 09:31:56 1995
+--- ./StripCharP.h Sun Dec 21 23:03:44 1997
***************
*** 62,71 ****
#define HIGHLIGHT 1 << 1
@@ -26,9 +26,9 @@ diff -c -N ../xperfmon++/StripCharP.h ./StripCharP.h
Pixel fgpixel; /* color index for graph */
Pixel hipixel; /* color index for lines */
Pixel warnColor;
-diff -c -N ../xperfmon++/StripChart.c ./StripChart.c
+diff -ca ../xperfmon++/StripChart.c ./StripChart.c
*** ../xperfmon++/StripChart.c Wed Jul 27 22:29:30 1994
---- ./StripChart.c Fri Mar 14 13:31:42 1997
+--- ./StripChart.c Sun Dec 21 23:03:44 1997
***************
*** 53,58 ****
--- 53,70 ----
@@ -251,9 +251,9 @@ diff -c -N ../xperfmon++/StripChart.c ./StripChart.c
x = 4;
XDS(w->strip_chart.botLabel);
}
-diff -c -N ../xperfmon++/TimeChart.c ./TimeChart.c
+diff -ca ../xperfmon++/TimeChart.c ./TimeChart.c
*** ../xperfmon++/TimeChart.c Wed Jul 27 22:29:31 1994
---- ./TimeChart.c Fri Mar 14 13:30:16 1997
+--- ./TimeChart.c Sun Dec 21 23:03:44 1997
***************
*** 47,52 ****
--- 47,62 ----
@@ -273,9 +273,9 @@ diff -c -N ../xperfmon++/TimeChart.c ./TimeChart.c
#include <stdio.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
-diff -c -N ../xperfmon++/TimeChart.h ./TimeChart.h
+diff -ca ../xperfmon++/TimeChart.h ./TimeChart.h
*** ../xperfmon++/TimeChart.h Wed Jul 27 22:29:31 1994
---- ./TimeChart.h Mon Oct 30 12:53:59 1995
+--- ./TimeChart.h Sun Dec 21 23:03:45 1997
***************
*** 88,99 ****
#define XtCFillRect "FillRect"
@@ -303,9 +303,9 @@ diff -c -N ../xperfmon++/TimeChart.h ./TimeChart.h
#define XtNvmunix "vmunix"
typedef struct _TimeChartRec *TimeChartWidget;
-diff -c -N ../xperfmon++/misc.c ./misc.c
+diff -ca ../xperfmon++/misc.c ./misc.c
*** ../xperfmon++/misc.c Wed Jul 27 22:29:33 1994
---- ./misc.c Fri Mar 14 13:31:48 1997
+--- ./misc.c Sun Dec 21 23:03:45 1997
***************
*** 22,27 ****
--- 22,38 ----
@@ -343,9 +343,9 @@ diff -c -N ../xperfmon++/misc.c ./misc.c
switch (keycode) {
case 'Q':
case 'q':
-diff -c -N ../xperfmon++/system.h ./system.h
+diff -ca ../xperfmon++/system.h ./system.h
*** ../xperfmon++/system.h Wed Jul 27 22:29:34 1994
---- ./system.h Fri Mar 14 13:16:19 1997
+--- ./system.h Sun Dec 21 23:03:45 1997
***************
*** 151,168 ****
--- 151,182 ----
@@ -413,9 +413,9 @@ diff -c -N ../xperfmon++/system.h ./system.h
"Calls",
+ #endif
};
-diff -c -N ../xperfmon++/xperfmon.c ./xperfmon.c
+diff -ca ../xperfmon++/xperfmon.c ./xperfmon.c
*** ../xperfmon++/xperfmon.c Wed Jul 27 22:29:39 1994
---- ./xperfmon.c Fri Mar 14 13:30:50 1997
+--- ./xperfmon.c Sun Dec 21 23:03:45 1997
***************
*** 58,63 ****
--- 58,73 ----
@@ -536,7 +536,7 @@ diff -c -N ../xperfmon++/xperfmon.c ./xperfmon.c
usage()
{
+ #if (defined(BSD) && (BSD >= 199306))
-+ fprintf(stderr, "\nxperfmon++ V1.33 for FreeBSD-2.X\n");
++ fprintf(stderr, "\nxperfmon++ V1.40 for FreeBSD-2.X and 3.X\n");
+ #endif
fprintf(stderr, "\nusage: xperfmon++ option option option .....\n");
fprintf(stderr, "options:\n");
diff --git a/sysutils/xperfmon3/files/patch-ab b/sysutils/xperfmon3/files/patch-ab
index f44906a..42bd33d 100644
--- a/sysutils/xperfmon3/files/patch-ab
+++ b/sysutils/xperfmon3/files/patch-ab
@@ -1,6 +1,6 @@
-diff -c -N ../xperfmon++/Imakefile ./Imakefile
+diff -ca ../xperfmon++/Imakefile ./Imakefile
*** ../xperfmon++/Imakefile Wed Jul 27 22:29:29 1994
---- ./Imakefile Fri Mar 14 13:29:51 1997
+--- ./Imakefile Sun Dec 21 23:03:44 1997
***************
*** 17,31 ****
SYS_MODULE= sgi_system
@@ -41,22 +41,23 @@ diff -c -N ../xperfmon++/Imakefile ./Imakefile
ComplexProgramTarget(xperfmon++)
-diff -c -N ../xperfmon++/README ./README
+diff -ca ../xperfmon++/README ./README
*** ../xperfmon++/README Wed Jul 27 22:29:30 1994
---- ./README Fri Mar 14 13:59:13 1997
+--- ./README Sun Dec 21 23:03:44 1997
***************
*** 18,20 ****
---- 18,61 ----
+--- 18,52 ----
Research Center, rsmith@proteus.arc.nasa.gov. Imake will build for correct
O/S if x11r5 is fully installed in all the right places.
-+ 3-15-95 Completely new port of systemdependent file (freebsd_system.c) for FreeBSD-2.X
++
++ 3-15-95 Completely new port of systemdependent file (bsd_system.c) for FreeBSD-2.X
+ by Lars Köller @University of Rostock, Germany.
+ E-Mail: <lars.koeller@odie.physik2.uni-rostock.de>
+
+ 8-16-95 Quick and dirty workaround of -geometry option bug.
+ But there are still some side effects when changing the geometry.
-+ Fix memory leak in freebsd_system.c
++ Fix memory leak in bsd_system.c
+ by Lars Köller @University of Rostock, Germany.
+ E-Mail: <lars.koeller@odie.physik2.uni-rostock.de>
+
@@ -81,19 +82,9 @@ diff -c -N ../xperfmon++/README ./README
+ FreeBSD-current (2.2, changes in get_swapspace)
+ by Lars Köller @University of Rostock, Germany.
+ E-Mail: <Lars_Koeller@odie.physik2.uni-rostock.de>
-+
-+ 3-14-97 Fix some problems with changed structures in 3.0,
-+ clean up the FreeBSD version numbers #if's.
-+ Now xperfmon++ should compile from FreeBSD-2.0 up to 3.0-current
-+ by Lars Köller @University of Rostock, Germany.
-+ E-Mail: <Lars_Koeller@odie.physik2.uni-rostock.de>
-+ Jörg Wunsch, FreeBSD core team menber, Germany
-+ E-Mail: <joerg_wunsch@uriah.heep.sax.de>
-+ <joerg@FreeBSD.ORG>
-+
-diff -c -N ../xperfmon++/XPerfmon++.ad ./XPerfmon++.ad
+diff -ca ../xperfmon++/XPerfmon++.ad ./XPerfmon++.ad
*** ../xperfmon++/XPerfmon++.ad Wed Jul 27 22:29:32 1994
---- ./XPerfmon++.ad Tue Dec 5 09:32:54 1995
+--- ./XPerfmon++.ad Sun Dec 21 23:03:45 1997
***************
*** 4,27 ****
! commented out, the "NFS Server" graph background will be the application
@@ -158,9 +149,93 @@ diff -c -N ../xperfmon++/XPerfmon++.ad ./XPerfmon++.ad
! *perfChartNFSServer.highAlarm: 200
*font: 6x13
+
-diff -c -N ../xperfmon++/xperfmon++.man ./xperfmon++.man
+ diff -ca ../xperfmon++/xperfmon++.man ./xperfmon++.man
*** ../xperfmon++/xperfmon++.man Wed Jul 27 22:29:39 1994
---- ./xperfmon++.man Fri Mar 14 14:02:29 1997
+--- ./xperfmon++.man Sun Dec 21 23:03:45 1997
+***************
+*** 20,51 ****
+ The program can produce a filled graph or a line graph and the update interval can be set in
+ seconds or 100-millisecond intervals.
+ .PP
+! While
+ .I xperfmon++
+ is running, it is possible to perform certain tasks by pressing keys over
+ the window:
+ .PP
+ .br
+! .B Q/q:
+ Quit... Exit gracefully
+ .br
+! .B l | L:
+ Print out a chart of all current limit settings. This chart will appear in the
+ window from which xperfmon++ was invoked.
+ .br
+! .B s:
+ Decrease update interval (slower) by a small amount
+ .br
+! .B S:
+ Decrease update interval (slower) by a large amount
+ .br
+! .B f:
+ Increase update interval (faster) by a small amount
+ .br
+! .B F:
+ Increase update interval (faster) by a large amount
+ .br
+! .B ?:
+ Help
+ .SH OPTIONS
+ .PP
+--- 20,51 ----
+ The program can produce a filled graph or a line graph and the update interval can be set in
+ seconds or 100-millisecond intervals.
+ .PP
+! While
+ .I xperfmon++
+ is running, it is possible to perform certain tasks by pressing keys over
+ the window:
+ .PP
+ .br
+! .B Q/q:
+ Quit... Exit gracefully
+ .br
+! .B l | L:
+ Print out a chart of all current limit settings. This chart will appear in the
+ window from which xperfmon++ was invoked.
+ .br
+! .B s:
+ Decrease update interval (slower) by a small amount
+ .br
+! .B S:
+ Decrease update interval (slower) by a large amount
+ .br
+! .B f:
+ Increase update interval (faster) by a small amount
+ .br
+! .B F:
+ Increase update interval (faster) by a large amount
+ .br
+! .B ?:
+ Help
+ .SH OPTIONS
+ .PP
+***************
+*** 79,85 ****
+ .PP
+ The following options specify the list of statistics to be displayed.
+ If none are present on the command line, then all statistics are displayed.
+! If any "+" options are listed the default list is cleared and only those
+ listed as "+" options are displayed.
+ If any "-" options are listed, then they are taken away from the
+ default list. Specifying both "-" and "+" options will produce unpredictable
+--- 79,85 ----
+ .PP
+ The following options specify the list of statistics to be displayed.
+ If none are present on the command line, then all statistics are displayed.
+! If any "+" options are listed the default list is cleared and only those
+ listed as "+" options are displayed.
+ If any "-" options are listed, then they are taken away from the
+ default list. Specifying both "-" and "+" options will produce unpredictable
***************
*** 94,101 ****
.B \-idlecpu | \+idlecpu
@@ -181,6 +256,65 @@ diff -c -N ../xperfmon++/xperfmon++.man ./xperfmon++.man
.B \-diskxfr | \+diskxfr
Graph \fIDisk Transfers\fP per interval period.
***************
+*** 122,132 ****
+ .sp
+ \fIxperfmon++\fP will accept a number of \fIlimit\fP options. When a data point
+ exceeds a high or low limit the background of that graph changes color to visually reflect
+! the condition. The background color is an indication of the min (low limit) or max (high limit)
+ value currently contained
+ in the graph. When no limit has been exceeded the background color is set to green. If no limits have
+! been set for that graph its background color remains the same as the applications default color,
+! which is usually white.
+ .PP
+ WARNING: High and Low limits are mutually exclusive, i.e., you can set high limits or low limits, but
+ not both. If both are inadvertently set, the high limits are checked first, and the low limit will be
+--- 122,132 ----
+ .sp
+ \fIxperfmon++\fP will accept a number of \fIlimit\fP options. When a data point
+ exceeds a high or low limit the background of that graph changes color to visually reflect
+! the condition. The background color is an indication of the min (low limit) or max (high limit)
+ value currently contained
+ in the graph. When no limit has been exceeded the background color is set to green. If no limits have
+! been set for that graph its background color remains the same as the applications default color,
+! which is usually white.
+ .PP
+ WARNING: High and Low limits are mutually exclusive, i.e., you can set high limits or low limits, but
+ not both. If both are inadvertently set, the high limits are checked first, and the low limit will be
+***************
+*** 135,141 ****
+ There are four possible \fIlimit\fP conditions:
+ .TP 16
+ .B High Warning
+! When any value in the current graph exceeds the \fIhigh warning\fP limit
+ the background color of that graph is changed to \fIyellow\fP.
+ .TP 16
+ .B Low Warning
+--- 135,141 ----
+ There are four possible \fIlimit\fP conditions:
+ .TP 16
+ .B High Warning
+! When any value in the current graph exceeds the \fIhigh warning\fP limit
+ the background color of that graph is changed to \fIyellow\fP.
+ .TP 16
+ .B Low Warning
+***************
+*** 164,170 ****
+ .TP 26
+ .B \-high*Warn \fIvalue\fP
+ Set high Warning value for *.
+! .PP
+ Where "*" is one of the following:
+ .TP 12
+ .B user
+--- 164,170 ----
+ .TP 26
+ .B \-high*Warn \fIvalue\fP
+ Set high Warning value for *.
+! .PP
+ Where "*" is one of the following:
+ .TP 12
+ .B user
+***************
*** 176,183 ****
.B idle
Set \fIlimit\fP value for Idle CPU Percentage.
@@ -200,6 +334,23 @@ diff -c -N ../xperfmon++/xperfmon++.man ./xperfmon++.man
.B disk
Set \fIlimit\fP value for Disk Transfers.
***************
+*** 206,212 ****
+ Set \fIlow user Alarm\fP value to 25.
+ .PP
+ As with any X-based command line specification you only need specify the minimum number of
+! characters required to make the string unique.
+ See below for a description of setting \fIlimit\fP values using application resource specifications.
+ .SH TOOLKIT OPTIONS
+ .PP
+--- 206,212 ----
+ Set \fIlow user Alarm\fP value to 25.
+ .PP
+ As with any X-based command line specification you only need specify the minimum number of
+! characters required to make the string unique.
+ See below for a description of setting \fIlimit\fP values using application resource specifications.
+ .SH TOOLKIT OPTIONS
+ .PP
+***************
*** 313,320 ****
.B System
Set System CPU Percentage resource.
@@ -219,11 +370,90 @@ diff -c -N ../xperfmon++/xperfmon++.man ./xperfmon++.man
.B Disk
Set Disk Transfer count resource.
***************
-*** 395,398 ****
---- 395,421 ----
+*** 354,366 ****
+ .SH BUGS
+ .I xperfmon++
+ requires the ability to open and read the special system file
+! .I /dev/kmem.
+ On most systems, this requires the
+ .I suid
+ (set user id) bit to be set with root ownership, or the
+ .I sgid
+! (set group id) bit to be set and membership in the same group as
+! .I /dev/kmem.
+ .PP
+ Reading /dev/kmem is inherently non-portable. Therefore, the widget upon
+ which this application is based must be ported to each new operating system.
+--- 354,366 ----
+ .SH BUGS
+ .I xperfmon++
+ requires the ability to open and read the special system file
+! .I /dev/kmem.
+ On most systems, this requires the
+ .I suid
+ (set user id) bit to be set with root ownership, or the
+ .I sgid
+! (set group id) bit to be set and membership in the same group as
+! .I /dev/kmem.
+ .PP
+ Reading /dev/kmem is inherently non-portable. Therefore, the widget upon
+ which this application is based must be ported to each new operating system.
+***************
+*** 371,377 ****
+ by fully covering the xperfmon++ window and then exposing it, or by iconifying the
+ xperfmon++ window and then de-iconifying it.
+ .SH AUTHORS
+! The X11 version of
+ .I xperfmon
+ was written by Emanuel Jay Berkenbilt, Project Athena on
+ 1/21/1988.
+--- 371,377 ----
+ by fully covering the xperfmon++ window and then exposing it, or by iconifying the
+ xperfmon++ window and then de-iconifying it.
+ .SH AUTHORS
+! The X11 version of
+ .I xperfmon
+ was written by Emanuel Jay Berkenbilt, Project Athena on
+ 1/21/1988.
+***************
+*** 381,387 ****
+ was modified by Thomas Bagli, PCS Computer Systeme GmbH, West Germany, to
+ be a toolkit-based client.
+ .PP
+! .I xperfmon++
+ was created from \fIxperfmon\fP, and the Athena StripChart Widget,
+ by Roger Smith, Sterling Software @ NASA-Ames Research Center, Moffett Field, California. Version 1.0
+ was released in January, 1994.
+--- 381,387 ----
+ was modified by Thomas Bagli, PCS Computer Systeme GmbH, West Germany, to
+ be a toolkit-based client.
+ .PP
+! .I xperfmon++
+ was created from \fIxperfmon\fP, and the Athena StripChart Widget,
+ by Roger Smith, Sterling Software @ NASA-Ames Research Center, Moffett Field, California. Version 1.0
+ was released in January, 1994.
+***************
+*** 389,398 ****
+ If you like this program, or if you have difficulties, I would like to hear your comments.
+ E-Mail me at rsmith@proteus.arc.nasa.gov.
+ .PP
+! .I xperfmon++
+ was written for Suns running SunOs and X11R5 Windows software. If some energetic soul
+ out there would like to port this program to any other operating system or architecture I would be
glad to incorporate the modifications into this master copy. Send me your changes via E-Mail at the
above address.
.PP
+ Enjoy!
+--- 389,418 ----
+ If you like this program, or if you have difficulties, I would like to hear your comments.
+ E-Mail me at rsmith@proteus.arc.nasa.gov.
+ .PP
+! .I xperfmon++
+ was written for Suns running SunOs and X11R5 Windows software. If some energetic soul
+ out there would like to port this program to any other operating system or architecture I would be
+ glad to incorporate the modifications into this master copy. Send me your changes via E-Mail at the
+ above address.
++ .PP
+ .I xperfmon++ V1.2 for FreeBSD
+ was written by Lars Koeller with a lot of helpful notes by Joerg Wunsch.
+ .PP
@@ -233,18 +463,15 @@ diff -c -N ../xperfmon++/xperfmon++.man ./xperfmon++.man
+ .PP
+ .I xperfmon++ V1.33 for FreeBSD
+ contains some fixes due to event problems and compiles fine under
-+ FreeBSD 2.2 (changes in get_swapspace).
++ FreeBSD 2.2 (changes in get_swapspace).
+ Now the -geometry switch works well!
-+ Please E-Mail any bugs or comments with the subject
-+ "xperfmon++: ..." to Lars_Koeller@odie.physik2.uni-rostock.de.
+ .PP
+ .I xperfmon++ V1.40 for FreeBSD
+ contains some fixes due to changes in the networking structs and
+ cleans up the FreeBSD version number #if's. Now it should compile fine
-+ from FreeBSD 2.0 up to FreeBSD-3.0-current.
-+ Please E-Mail any bugs or comments with the subject
-+ "xperfmon++: ..." to Lars_Koeller@odie.physik2.uni-rostock.de.
++ from FreeBSD 2.0 up to FreeBSD-3.0-current.
+ .PP
++ Please E-Mail any bugs or comments with the subject
++ "xperfmon++: ..." to Lars.Koeller@Uni-Bielefeld.DE.
+ .PP
Enjoy!
-+
-+
OpenPOWER on IntegriCloud