Running oammon with command line options

To run oammon, enter the following command:

oammon options

where options are:

Option

Description

-?

Displays a Help screen and terminates.

-h

Displays a Help screen and terminates.

-v

Runs in verbose mode and returns extended board information.

-s messagetext

Sends the specified text message to all applications currently monitoring for alert messages (for example, another instance of oammon that is monitoring). oammon then terminates.

messagetext can be any string of characters. Applications receive an OAMEVN_ALERT event that includes a pointer to an OAM_MSG structure containing the message text. For more information about alert notification, refer to the NMS OAM Service Developer's Reference Manual.

-L

Prints logged messages to stdout.

This option is recommended for diagnostic purposes only.

-f filename

Logs messages to the specified file,as well as to stdout. This option is ignored unless the -L option is also used.

-@ server

Monitors activity on a resource server, where server is a host name or IP address. If this option is not specified, oammon monitors the local host on which it was initialized. This option is ignored unless the -L option is also used.