Manual Page Result
0
Command: dxdw | Section: 8 | Source: Digital UNIX | File: dxdw.8X.gz
dxdw(8X) dxdw(8X)
NAME
dxdw - Runs and repeats command line commands
SYNOPSIS
/usr/bin/X11/dxdw [-c initial_command]
OPTIONS
The Display Window command has one application-specific command line
option. Specifies a command to run. The command string must be en-
closed in double quotes if it contains any spaces or special characters
interpreted by the shell.
Display Window accepts all of the standard X Toolkit command line op-
tions, which are documented in the OPTIONS section of the X(1X) refer-
ence page.
The following list documents selected X Toolkit options. Specifies the
color to use for the window background. Specifies the display screen
on which dxdw displays its window. If the display option is not speci-
fied, dxdw uses the display screen specified by your DISPLAY environ-
ment variable. The display option has the format hostname:number. The
default is :0. For more information, see the X(1X) reference page.
Performs the same function as the -d option. Specifies the color to
use for the window foreground.
DESCRIPTION
The Display Window application, dxdw, is used to run commands at inter-
vals.
You can use Display Window to do the following: Run a command and dis-
play a transcript of the output Repeat a command at regular intervals
Print the output to the default printer Save the output to a file
You can use Display Window to run common commands without starting up a
full xterm. The optional -c option specifies an initial command. The
Display Window application presents a transcript containing the current
command, its output, and its command-line error messages. You can
change the command after the application starts. The transcript area is
output-only, so you cannot use Display Window to run commands that
prompt for command line input.
To start Display Window from the CDE desktop, do the following: Click
on the Application Manager icon on the CDE front panel. Double click
on the System_Admin application group icon. Double click on the Dai-
lyAdmin application group icon. Double click on the Display Window
icon.
The Display Window main window is displayed, but the transcript
is blank because there is no initial command. You can then enter
a command to run in the Command input text field.
Since Display Window can be started with a default initial command,
several launchpoints have been created in the Application Manager to
run specific command-line applications using Display Window. These ap-
plications include I/O Statistics (iostat), Network Statistics (net-
stat), Virtual Memory Statistics (vmstat), and Who? (who).
To start one of the preceding applications within Display Window from
the CDE desktop, do the following: Click on the Application Manager
icon on the CDE front panel. Double click on the System_Admin applica-
tion group icon. Double click on the Tools application group icon.
Double click on the Display Window icon for the command.
The Display Window application invokes the command once. The
output from the command is displayed in the transcript area.
You can also start Display Window from the command line. To start Dis-
play Window from the command line, enter the following:
/usr/bin/X11/dxdw [-c initial_command]
The -c option specifies the command string to run when dxdw is started.
The command string must be enclosed in double quotes if it contains any
spaces or special characters interpreted by the shell.
The command string can be any of the following: A single command A se-
ries of commands in a pipeline A series of commands separated by semi-
colons
See the EXAMPLES section below for example commands.
After Display Window starts, a new command string can be entered in the
Command input text field. In the graphical user interface, it is not
necessary to enclose the command string in double quotes.
To enter a new command string: Clear the Command input text field if a
command is already present. Enter a new command string in the Command
input text field. Press the Return key in the Command input text field
to run the command.
Online Help
For additional information about the graphical user interface, see the
online help volume. To open the online help volume from within Display
Window, run the application and choose Overview from the Help menu in
the main window.
You can click on the topics in the outline area to move through the on-
line help. You can also click on hyperlinks, which are displayed using
underlined text. In each dialog box within the application, you can
click on the Help button to get reference information on that dialog
box.
You can get help for a specified component in the application. To do
so, choose On Item from the Help menu in the application. The cursor
changes to a question mark. When you click with the question mark, ref-
erence information is displayed about the part of the application that
you clicked on.
EXAMPLES
The following example runs the iostat command one time in the Display
Window application. You can use the Repeat Every dialog box to repeat
the command at regular intervals. dxdw -c iostat The following exam-
ples show how to use Display Window from the command line. dxdw -c df
dxdw -c "ps -aef" dxdw -c "ps -aef | grep dxdw" dxdw -c "mount; show-
mount" You can view the Display Window online help volume without run-
ning the application. To open the Display Window help volume from the
command line, enter the following command: /usr/dt/bin/dthelpview
-helpVolume \ /usr/dt/appconfig/help/C/Dxdw.sdl
FILES
Contains the Display Window application Contains the Display Window
help volume Contains the default values for the application's X re-
sources
SEE ALSO
Commands: sysman_intro(8X), iostat(1), netstat(1), vmstat(1), who(1),
X(1X)
dxdw(8X)