Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ucla-cs!zen!ucbvax!unl::spa!psi From: psi@unl::spa (Salvador Pinto Abreu) Newsgroups: comp.windows.x Subject: xrload (part 5 of 6) Message-ID: <8708131103.AA04146@decwrl.dec.com> Date: Thu, 13-Aug-87 14:57:00 EDT Article-I.D.: decwrl.8708131103.AA04146 Posted: Thu Aug 13 14:57:00 1987 Date-Received: Sat, 15-Aug-87 08:24:34 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 221 #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh xrload.1x <<'END_OF_xrload.1x' X.TH XRLOAD 1 "10 August 1987" "X Version 10" X.SH NAME Xxrload - X window system remote load average display X.SH SYNOPSIS X.B xrload X[ option ] ... X.SH DESCRIPTION X.I xrload Xdisplays the system load average for some or all hosts on a TPC/IP network. X.I xrload Xruns under the X.I X Xwindow system. X.I xrload Xcreates a window in which the load average for each system is represented as a Xdial with two hands and possibly n tick marks. XEach tick mark represents one unit of load average. XThe name of each host is displayed below its dial. The X large hand stands for the load average during the last Xminute, and the small hand stands for the previous 5 minutes. X.PP X.I xrload Xgets its data from the output of the X.I ruptime(1) Xcommand. X.PP X.I xrload Xunderstands the following options: X.PP X.TP 8 X.B \-cols \fIcolumns\fP XSpecify the number of columns in which to display the load statistics. X.PP X.TP 8 X.B \-bw \fIpixels\fP XSpecify the width in pixels of the border around the X.I xrload Xwindow. The default value is 2 pixels. X.PP X.TP 8 X.B \-fn \fIfontname\fP XThe system names will be displayed in the specified font (if none Xis specified, this defaults to timrom10b). X.PP X.TP 8 X.B \-rv XCause X.I xload Xto produce all output in black-on-white instead of white-on-black. X.PP X.TP 8 X.B \-spacing \fIinteger\fP XSpecify the spacing to leave between system meters. Default is 2 (pixels). X.PP X.TP 8 X.B \-delay \fIseconds\fP XSpecify the frequency in seconds with which X.I xrload Xupdates its display (except if the X.I xload Xwindow is obscured and then exposed, immediate redisplay occurs). The default Xupdate frequency is 30 seconds. Specification of a frequency Xless than 30 seconds is ignored and the default frequency is used Xinstead. In general, it is not worth using a very high frequency since Xxrload is subject to the bradcast messages sent by the various rwhod Xdaemons running on the network. X.PP X.TP 8 X.B \-same XDirect X.I xrload Xto use the same scale for all the meters. The scale is indicated by Xtick marks around the border for each meter. X.PP X.TP 8 X.B \-all XTell X.I xrload Xto display the load stats for X.I all Xthe hosts it gets from X.I ruptime. X.PP X.TP 8 X.B \-X XTell X.I xrload Xto display the load stats for all hosts currently able to use the Xdisplay it's running on. This list of hosts can be inspected and Xmodified with the X.I xhost(1) Xcommand. X.PP X.TP 8 X.B =\fIgeometry\fP XThe window is created with the specified Xsize and location Xdetermined Xby the supplied geometry specification. XSee \fIX(1)\fP for a full explanation. X.PP X.TP 8 X.B \[\fIhost\fP]:\[\fIdisplay\fP] XNormally, X.I xrload Xgets the host and display number to use from the environment Xvariable ``DISPLAY''. Either or both can be specified with this option. X.I host Xspecifies which machine to create the X.I xload Xwindow on, and X.I display Xspecifies the display number. XFor example, X``hara.gpl.unl:0'' creates an X.I xload Xon display 0 on machine hara.gpl.unl. Either value can be defaulted Xby omission but ``:'' is necessary to specify one or both. X.SH X DEFAULTS X.PP X.TP 8 X.B BodyFont XSet the hostname font. X.PP X.TP 8 X.B BorderWidth XSet the border width of the window. X.B ReverseVideo XIf ``on'', reverse the definition of foreground and background color. X.PP X.TP 8 X.B SameScale XBoolean value (``on'' or ``off''), determines if all meters will have Xthe same scale. X.PP X.TP 8 X.B Delay XSet the update interval. X.PP X.TP 8 X.B Columns XSets the wanted number of columns for display. X.PP X.TP 8 X.B Spacing XSets the spacing (in pixels) between meters. X.PP X.TP 8 X.B Hosts XTell what system's stats should be displayed: this can be either X``All'', meaning all hosts that appear in ruptime(1), ``X'' meaning Xonly those hosts that can use your display, or a list of Xcoma-separated names. X.SH ENVIRONMENT XDISPLAY - to get the default host and display number. X.SH SEE ALSO XX(1), uwm(1), X(8C), ruptime(1C) X.SH FILES X~/.Xdefaults, /usr/ucb/ruptime X.SH DIAGNOSTICS XVarious X errors. X.SH BUGS X.I xrload Xrelies on the format of ruptime(1) messages. Right now it works fine Xunder Ultrix 1.2 and 2.0, I think it should run on most 4.x BSD systems. X.SH AUTHORS XSalvador P. Abreu (New University of Lisbon -- Portugal, ...!mcvax!inesc!spa) X.br XCopyright (c) 1985, Massachusetts Institute of Technology. X.br XCopyright (c) 1987, GPLIA - Grupo de Programacao em Logica e XInteligencia Artificial, Dep. Informatica, Universidade Nova de XLisboa, 2825 Monte de Caparica, Portugal X.br XSee X(1) for a complete copyright notice. END_OF_xrload.1x if test 4451 -ne `wc -c