A Summary of Commands

display messages

pattern

The pattern option allows you to specify a regular expression as accepted by logCat that may appear in any part of a message. (See logCat on page 514 for additional information.) The pattern must enclosed in quotes and surrounded by slashes (/). For example, display messages pattern ‘/XYZ/’ provides all messages that use the pattern XYZ anywhere in the message.

Note: The pattern option is case-sensitive.

number

The number option specifies the number of messages you want to display, or you can use the all value to display all messages. The command accepts a 3-digit number so you can display up to 999 messages.

Note: Although the number option only allows up to 3 digits, you may have more than 999 messages logged. Therefore, you can only view up to 999 messages in the message log report with the display messages command. The logCat command with the -toption can be used to display all logged messages. See the logCat command later in this book for more information.

Display Format

All messages are displayed with two or three lines of information. Messages are separated by a blank line to ease viewing. Table 31 on page 454 lists the

UCS 1000 R4.2 Administration 585-313-507

Issue 3 April 2000 453