Previous Topic: Locking and Unlocking ConsolesNext Topic: Change the Behavior of the Terminal Device


Writing Console Activity Output to a File, Printer or Terminal

To output live console data to a printer or terminal connected to an asynchronous device, or to a file, use the watch option to the console command. This invokes the watch interface which allows you to output console activity to a file, printer or terminal in real-time.

The system name ALL is reserved for Console Manager. If you use ALL as the system name, you can output the console activity of all systems you have access to in the configuration database.

To print the log data for the systems SALT and PEPPER to a printer connected to TTA3, enter:

$ CONSOLE WATCH/OUTPUT=TTA3: SALT,PEPPER

You can also direct the output to a text file on disk. To direct log data for SALT and PEPPER to the file LOGFILE.TXT, enter:

$ CONSOLE WATCH /OUTPUT=LOGFILE SALT, PEPPER

To stop the watch interface, use either CTRL_C or the STOP/ID command.

Note: See the chapter Using the Monitor Interface for additional system name options for Monitor Interface.”

For more information, enter HELP CONSOLE WATCH.

If you attempt to start a watch for a system that is currently being archived, then the following messages are displayed:

Archive in progress on system-name ????

If an archive is started for a system that is currently being watched, then the watch output is suspended while the archive is in progress, and the following messages are displayed:

Archive started on system-name - Watch output suspended.
Archive completed on system-name - Watch output resuming.