xsysinfo(1) — USER COMMANDS
NAME
xsysinfo - SYSV sysinfo display for X
SYNOPSIS
xsysinfo [−toolkitoption ...] [−update seconds]
[-ci idle_color] [-cu user_color] [-cs system_color] [-cw wait_color] [-csx sxbrk_color]
[-ps cursor] [-pfg fg color] [-pbg color]
[-daw] [-nolabels] [-syncNlist] [-monochrome] [-arcsbroken] [-help]
DESCRIPTION
The xsysinfo program displays a graph of CPU utilization. The graph shows the portion of time the CPU has spent running in user mode, system mode, waiting for I/O, in sxbrk mode or idle. Values are obtained from the sysinfo kernel data structure.
OPTIONS
The program command line options are:
-update seconds
specifies the frequency, in seconds, of the graph update
-ci idle_color
sets the color of idle time on the graph
-cu user_color
sets the color of user time on the graph
-cs system_color
sets the color of system time on the graph
-cw wait_color
sets the color of wait time on the graph
-csx sxbrk_color
sets the color of sxbrk time on the graph
-ps cursor
sets pointer shape to one of the cursors in the cursor font
-pfg fg color
sets the foreground color of the pointer
-pbg color
sets the background color of the pointer
-daw
changes the order of plotted values
-nolabels
disables labels
-monochrome
forces monochrome mode
-arcsbroken
causes active icon to erase before each replot to correct arc bug on some X servers (e.g. mvme39x)
-syncNlist
forces the name list cache to be remade
-help
causes a help message to be printed
RESOURCES
The xsysinfo program understands the core X11 resource names and classes for each of the widgets used. In addition the following resources are defined by xsysinfo:
update (class Int)
specifies the frequency, in seconds, of the graph update
idleColor (class String)
sets the color of idle time on the graph
userColor (class String)
sets the color of user time on the graph
systemColor (class String)
sets the color of system time on the graph
waitColor (class String)
sets the color of wait time on the graph
swapColor (class String)
sets the color of sxbrk time on the graph
pointerShape (class Cursor)
sets pointer shape to one of the cursors in the cursor font
pointerForeground (class String)
sets the pointer forground color
pointerBackground (class String)
set the pointer background color
daw (class Boolean)
if True, the order of the values on the graph will be changed
noLabels (class Boolean)
if True, no labels will be displayed
arcsBroken (class Boolean)
if True, active icon window will be cleared before it is redrawn
WIDGETS
Below is the widget structure of the xsysinfo application Indentation indicates hierarchical structure. The widget class name is given first, followed by the widget instance name.
XSysinfo xsysinfo
Paned vpaned
Form form
Command cmd
Label host
Form form2
Label label1
Label label2
Label label3
Label label4
Label label5
Simple plotArea
Grip grip
EXAMPLE RESOURCES
The following example of setting Class defaults for this program:
XSysinfo.borderWidth:0
XSysinfo∗Foreground:lightgrey
XSysinfo∗Background:black
XSysinfo∗internalBorderColor: lightgrey
XSysinfo.geometry:2x75
XSysinfo.update:10
XSysinfo.idleColor:black
XSysinfo.userColor:#28C
XSysinfo.systemColor:yellow
XSysinfo.waitColor:red
XSysinfo.swapColor:white
XSysinfo.noLabels:true
XSysinfo.daw:false
XSysinfo.pointerShape:cross
XSysinfo.pointerForeground:white
XSysinfo.pointerBackground:black
FILES
/tmp/.XSysinfo_Datacache for internal data structures
/dev/kmemkernel virtual memory
/unixsystem namelist
/sysV68system namelist on R3V6