Content-type: text/html Man page of dxdw

dxdw

Section: Misc. Reference Manual Pages (8X)
Index Return to Main Contents
 

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 enclosed 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 options, which are documented in the OPTIONS section of the X(1X) reference 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 specified, dxdw uses the display screen specified by your DISPLAY environment 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 intervals.

You can use Display Window to do the following: Run a command and display 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 DailyAdmin 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 applications include I/O Statistics (iostat), Network Statistics (netstat), 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 application 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 Display 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 series of commands in a pipeline A series of commands separated by semicolons

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 online 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, reference 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 examples 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; showmount" You can view the Display Window online help volume without running 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 resources
 

SEE ALSO

Commands: sysman_intro(8X), iostat(1), netstat(1), vmstat(1), who(1), X(1X)


 

Index

NAME
SYNOPSIS
OPTIONS
DESCRIPTION
Online Help
EXAMPLES
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:40:44 GMT, October 02, 2010