Guardian User's Guide
Monitoring Event Messages
Guardian User’s Guide—425266-001
17-11
Printing Operator Messages
Printing Operator Messages
In addition to displaying operator messages using a print distributor, you can also print 
operator messages using a printing distributor and the FUP COPY command.
To use a printing distributor to print operator messages:
1. Supply the name of an existing print device in an EMSDIST command.
> EMSDIST TYPE PRINTING, COLLECTOR $0, TEXTOUT $printer.#loc
The printing distributor begins and continues to direct operator messages to the 
specified printer until you stop the EMSDIST process.
(These instructions assume that you have designated a disk file for operator 
messages. If you need to do so, see Directing Messages to a Disk File
 on 
page 17-10.)
2. After a disk file exists, print the operator messages with the FUP COPY command:
> FUP COPY [subvol.]log-file, $printer.#loc, SHARE
You must use the SHARE option of the FUP COPY command to print a log file 
because this type of file is likely to be open at any time.
Example
To print the contents of the disk log file NEWLOG to a printer named #HANS1, enter:
> FUP COPY NEWLOG, $S.#HANS1, SHARE
You can specify that logging begin or end or both on a specified date at a specified time 
by using the EMSDIST TIME and STOP options. This example begins the printing 
distributor immediately, starts printing at 1:00 a.m. on May 12, 1993, on the printer 
named #HANS1, and stops the distributor and the printing of messages at 11:00 p.m. the 
same day:
> EMSDIST TYPE PRINTING, COLLECTOR $0, TEXTOUT $S.#HANS1,&
> & TIME 1993-05-12 1:00:00, STOP 1993-05-12 23:00:00
Guidelines
•
When you print a log file with the FUP COPY command, you must use the SHARE 
option if the file is currently open, which is often the case. For example:
> FUP COPY NEWLOG, $S.#HANS1, SHARE
•
The person or process that runs EMSDIST must have read access to the log files that 
EMSDIST accesses. Super-group privileges are required if the collector creates its 
own log files with the protection string COOO, which is the system default file 
security. See the EMS Manual for further information.
Note. See the EMS Manual for complete information about EMS, its options, and for 
instructions on how to use them.










