Command Line Interface Guide

omreport: Viewing System Status Using the Instrumentation Service 71
Commands for Viewing Logs
Use the omreport system or omreport servermodule command to view logs:
the alert log, the command log, and the hardware or ESM log.
NOTE: If the Alert log or Command log displays invalid XML data (such as when
XML data generated for the selection is not well-formed), you must clear the log
and resolve the issue. To clear the log, type: omconfig system alertlog
action=clear or omconfig system cmdlog action=clear. If you
need to retain the log information for future reference, save a copy of the log before
clearing. See "Commands for Clearing Logs" on page 163 for more information about
clearing logs.
To view the contents of the alert log, type:
omreport system alertlog
or
omreport servermodule alertlog
To view the contents of the command log, type:
omreport system cmdlog
or
omreport servermodule cmdlog
To view the contents of the ESM log, type:
omreport system esmlog
or
omreport servermodule esmlog