Previous Topic: Running With the RepositoryNext Topic: Use cawto from a Batch Program


Event Management Messaging Examples

Write Messages Using cawto

Use the cawto utility to write messages to the local Event Management console or to a remote computer. You can also assign different attributes to the messages to make them more meaningful. The basic syntax of the command:

cawto       -a attribute (DEFAULT, BLINK, REVERSE)
            -c color     (DEFAULT(White), Red, Orange, Yellow, Green, Blue, 
                          Pink, Purple)
            -g category  (user defined)
            -k           (Place in held message area)
            -n node      (The node name of the machine, if omitted defaults to 
                          local machine)
            -s source    (Identifies the user defined source to the message, 
                          useful for message matching)

For example, to call cawto to the local computer, specify:

cawto This is my message

To call cawto to a remote computer, specify:

cawto -n node This is my message