displaylog command

This command displays management-module event log entries.

Note: Event descriptions and suggested user actions for items shown by the displaylog command can be viewed using the eventinfo command.
Table 1. displaylog (display management-module event log) command
Function What it does Command Valid targets
Display management-module event log entries Displays five entries from the management-module 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
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display management-module event log entries (reset counter) Resets the counter and displays the first five most recent entries in the management-module event log. displaylog -f
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display log entries with Event ID Displays log entries with Event ID. displaylog -e
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display log entries with their call-home flag Displays log entries with their call-home flag. displaylog -c
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display all management-module event log entries Displays all entries in the management module event log. displaylog -a
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display all event log filters Displays all filters that can be used to control management module event log output. displaylog -filters
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display event log entries filtered by date Displays management module event log information that meets the specified date filter criteria.
Note:
  • This command displays the first five most recent entries in the management-module event log that meet the specified filter criteria. Adding the -a option to the command displays all entries that meet the specified filter criteria.
  • If the filter criteria entered does not match the criteria previously specified, this resets the counter and displays the first five most recent log entries that match the specified filter criteria.
  • The index number displayed for each filtered log entry might not match the index number shown for the same log entry displayed in an unfiltered list.
displaylog -date date_filter

where date_filter is a pipe ( | ) separated list of date filters in mm/dd/yy format.

                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display event log entries filtered by severity level Displays management module event log information that meets the specified severity level filter criteria.
Note:
  • This command displays the first five most recent entries in the management-module event log that meet the specified filter criteria. Adding the -a option to the command displays all entries that meet the specified filter criteria.
  • If the filter criteria entered does not match the criteria previously specified, this resets the counter and displays the first five most recent log entries that match the specified filter criteria.
  • The index number displayed for each filtered log entry might not match the index number shown for the same log entry displayed in an unfiltered list.
displaylog -sev severity_filter

where severity_filter is a pipe ( | ) separated list of severity filters:

  • I (information)
  • E (error)
  • W (warning)
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display event log entries filtered by source Displays management module log information that stored in the audit log. displaylog -src Audit
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display event log entries filtered by every flag except the one specified Displays management module log information that is stored in logs other than the specified log.
Note:
  • This command displays the first five most recent entries in the management-module event log that meet the specified filter criteria. Adding the -a option to the command displays all entries that meet the specified filter criteria.
  • If the filter criteria entered does not match the criteria previously specified, this resets the counter and displays the first five most recent log entries that match the specified filter criteria.
  • The index number displayed for each filtered log entry might not match the index number shown for the same log entry displayed in an unfiltered list.
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.

                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display audit log entries filtered by source Displays management module audit log information that meets the specified source filter criteria.
Note:
  • This command displays the first five most recent entries in the management-module event log that meet the specified filter criteria. Adding the -a option to the command displays all entries that meet the specified filter criteria.
  • If the filter criteria entered does not match the criteria previously specified, this resets the counter and displays the first five most recent log entries that match the specified filter criteria.
  • The index number displayed for each filtered log entry might not match the index number shown for the same log entry displayed in an unfiltered list.
displaylog -src source_filter

where source_filter is a pipe ( | ) separated list of source filters. To specify a range of blade servers as the source, use a hyphen ( - ), as follows: Blade_01-08.

                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Display log entries filtered by call-home flag Displays log entries that meet the specified call-home events filter criteria.
Note:
  • This command displays the five most recent entries in the management-module event log that meet the specified filter criteria. Adding the -a option to the command displays all entries that meet the specified filter criteria.
  • If the filter criteria entered does not match the criteria previously specified, this resets the counter and displays the first five most recent log entries that match the specified filter criteria.
  • The index number displayed for each filtered log entry might not match the index number shown for the same log entry displayed in an unfiltered list.
displaylog -ch option

where option are:

  • C (call home)
  • N (no call home)
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

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
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

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:
  • Supervisor
  • Chassis log management
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Save event log to TFTP server Saves the event log with the specified filename to the specified TFTP server.
Note: The -i and -l command options must be run together and exclusive of other command options.
displaylog -i ip_address -l filename
where:
  • ip_address is the IPv4 or IPv6 IP address of the TFTP server where the event log is being saved.
  • filename is the name of the event log file.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Example:

To display all log entries generated by the management module in bay 1 other than those in the audit log, while the BladeCenter unit is set as the persistent command environment, at the system> prompt, type
                  displaylog -src !Audit -T mm[1]
               
To display audit log entries generated by the management module in bay 1, while the BladeCenter unit is set as the persistent command environment, at the system> prompt, type
                  displaylog -src Audit -T mm[1]
               

The following example shows the information that is returned from these commands:

               system> displaylog -src !Audit -T mm[1]
1       I       SERVPROC   08/04/08    14:18:06     Recovery Event log full
2       I       SERVPROC   08/04/08    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[1]
1       I       Audit      08/04/08    14:28:38     Remote logoff successful for 
                                                    user 'spdev'from Telnet at 
                                                    IP 9.44.124.157
2       I       Audit      08/04/08    14:28:18     Remote login successful for 
                                                    user 'spdev' from Telnet at 
                                                    IP 9.44.124.157
3       I       Audit      08/04/08    14:18:15     Audit log cleared by 'spdev'.
(There are no more entries in the event log.)
system>