# Running oammon without command line options

To run oammon without command line options, enter the following command:

oammon

oammon displays an interactive menu and immediately begins logging messages to the file oammon.log located in \nms\oam\log\ under Windows and /opt/nms/oam/log/ under UNIX.

'Enter' to output log file tail, based on
current screen output line count
'c' to change screen output line count
(current count is 10)
'p' to poll screen output every 10 seconds
'q' or 'x' to exit

You can enter the following menu options:

Option | Description
--- | ---
c integer | Changes the number of message lines that oammon displays on the screen every 10 seconds (the default is ten lines). After entering the c option, enter a positive integer to indicate the number of lines of message text you want to display.
p | Directs oammon to display the last 10 lines of received message text to the screen every 10 seconds. This command enables and disables on-screen polling. The first time you enter the p option, it enables on-screen polling. The second time you enter the p option, it disables on-screen polling.
q | Exits oammon.

Error message formats differ depending on whether the board is an AG board or a CG board. For information about these formats, refer to AG error format and CG error format.