This command displays CMM event log entries.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or displaylog command errors for a list of error messages that are specific to the displaylog command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display CMM event log entries | Displays five entries from the CMM event log. The first time the command is executed, the five most recent log entries are displayed. Each subsequent time the command is issued, the next five entries in the log display. | displaylog | Primary CMM:
|
Display CMM event log entries (reset counter) | Resets the counter and displays the first five most recent entries in the CMM event log. | displaylog -f | Primary CMM:
|
Display log entries with Event ID | Displays log entries with Event ID. Note: An
asterisk ( * ) after the Event ID indicates that this is a compute
node generated event ID.
|
displaylog -e | Primary CMM:
|
Display log entries with their call-home flag | Displays log entries with their call-home flag. | displaylog -c | Primary CMM:
|
Display all CMM event log entries | Displays all entries in the CMM event log. | displaylog -a | Primary CMM:
|
Display log entries with log sequence number | Displays log entries with their log sequence number
event log. Note: An asterisk ( * ) after the event sequence number
indicates auxiliary data is available for that entry. This can be
viewed using the -aux option.
|
displaylog -sn | Primary CMM:
|
Display log entries with auxiliary data | Displays log entries with their auxiliary data. | displaylog -aux | Primary CMM:
|
Display all event log filters | Displays all filters that can be used to control CMM event log output. | displaylog -filters | Primary CMM:
|
Display event log entries filtered by date | Displays CMM event
log information that meets the specified date filter criteria. Note:
|
displaylog
-date date_filter where date_filter is a pipe ( | ) separated list of date filters in mm/dd/yy format. |
Primary CMM:
|
Display event log entries filtered by severity level | Displays CMM event
log information that meets the specified severity level filter criteria. Note:
|
displaylog
-sev severity_filter where severity_filter is a pipe ( | ) separated list of severity filters:
|
Primary CMM:
|
Display event log entries filtered by every flag except the one specified | Displays CMM log
information that is stored in logs other than the specified log. Note:
|
displaylog
-src ! filter_out where filter_out is the category of event log entries that is not to be displayed. Use the displaylog -filters command to discover excludable event log categories. |
Primary CMM:
|
Display audit log entries filtered by source | Displays CMM audit
log information that meets the specified source filter criteria. Note:
|
displaylog
-src source_filter where source_filter is a pipe ( | ) separated list of source filters, such as Audit for the audit log. To specify a range of compute nodes as the source, use a hyphen ( - ), as follows: Blade_01-08 . |
Primary CMM:
|
Display log entries filtered by call-home flag | Displays log entries that meet the specified call-home
events filter criteria. Note:
|
displaylog
-ch option where option are:
|
Primary CMM:
|
Display the state of the log state event option | Displays the state (enabled or disabled) of the log state event option, which generates an event when the event log becomes 75% or 100% full. | displaylog -lse | Primary CMM:
|
Enable / disable monitoring of event log state | Enables or disables the monitoring of the event
log state to generate an event when the log becomes 75% or 100% full. Note: The
displaylog -lse command must be run exclusive of other log-reading
command options (-f, -a, -filters, -date, -sev, - src, -i, and -l).
|
displaylog
-lse state where state is enabled or disabled . This
command can only be run by users who have one or more of the following
command authorities:
|
Primary CMM:
|
Save event log | Saves the CMM event log to the specified location. | displaylog
-u URL where URL is the fully qualified uniform resource locator, including file name, of the tftp, ftp, http, https, or sftp server where the event log is to be saved. |
Primary CMM:
|
Example:
displaylog -src !Audit -T mm[p]
displaylog -src Audit -T mm[p]
The following example shows the information that is returned from these commands:
system> displaylog -src !Audit -T mm[p] 1 I SERVPROC 08/04/11 14:18:06 Recovery Event log full 2 I SERVPROC 08/04/11 14:18:06 Alarm Manager removed a MNR alert during recovery of Event log full (There are no more entries in the event log.) system> displaylog -src audit -T mm[p] 1 I Audit 08/04/11 14:28:38 Remote logoff successful for user 'spdev'from Telnet at IP 9.44.124.157 2 I Audit 08/04/11 14:28:18 Remote login successful for user 'spdev' from Telnet at IP 9.44.124.157 3 I Audit 08/04/11 14:18:15 Audit log cleared by 'spdev'. (There are no more entries in the event log.) system>