dtstatus(1M) dtstatus(1M)
NAME
dtstatus - update UnixWare Desktop system status parameters
SYNOPSIS
dtstatus -a filename
dtstatus -d entry . . .
dtstatus -f flag entry . . .
DESCRIPTION
The dtstatus command modifies the template file used to
control the display of the System_Status desktop
administration client. Each line of this file is either a
comment (a blank line, or one beginning with #), or defines a
component of the status display. The syntax of these entries
is:
entry flag command
with the fields separated by TAB characters. entry is the
string displayed in the System Status window. The command
field is either a command producing one output line or the
word builtin specifying one of the components present in the
factory defaults.
The flag field indicates whether the component is
(temporarily) suppressed (initial -) or displayed (+ or
neither sign present), and whether the component is on the
right (r) or left (l or no marker) side of the display. For
the clock and disk gauge components, there may be a following
number indicating the interval in seconds between updates of
the status information (with 0 meaning that the initial
display is not updated).
Options
The options available are
-a filename append the contents of filenamed to the system
StatusFile
-d entry delete entry from the system StatusFile, entry
being the name of the component, the first field
of the entry in the StatusFile
-f nflag entry
modify each entry's flag to be nflag. This can
be used to ``turn off'' the display of
Copyright 1994 Novell, Inc. Page 1
dtstatus(1M) dtstatus(1M)
components or to ``move'' them from side to side
in the display.
Examples
To eliminate the display of the system memory component in the
factory settings, either eliminate it altogether, using
dtstatus -d memory
or leave it in the file, but not displaying, by changing the
flag
dtstatus -f -r memory
To add a new component, for example a date command that is
updated every 10 seconds, presumably as a replacement for the
factory clock and calendar (which can be turned off by the -d
or -f flags), one could have a file datestat containing the
line
date +10 date
and attach this to the System_Status display via
dtstatus -a datestat
This example shows the standard line for display of hard disk
space usage:
disk +60r builtin
indicating that the display, with its gauge of the space usage
on mounted hard disk file systems, is updated and displayed
every 60 seconds, on the right side of the System_Status
screen.
Files
/usr/X/desktop/dashboard/StatusFile
USAGE
Minimal checking of the syntax is done for added files.
Copyright 1994 Novell, Inc. Page 2