Sun Microsystems Sun Fire V100 manual To View the Entire Event Log, Type

Models: Sun Fire V100

1 146
Download 146 pages 47.17 Kb
Page 70
Image 70
▼To View the Entire Event Log

To View the Entire Event Log

Type:

lom> loghistory [pause x] [level y]

where x is the number of lines you want to display before pausing, and y is the severity level of the events you want to see. By default, the loghistory command displays all the events in the log and does not pause the display.

If you specify a severity level, you will see reports for the level you specify and above. For example, if you specify level 2, you will see reports of level 2 and level 1 events. If you specify level 3, you will see reports of level 3, level 2, and level 1 events.

If you do not specify a level, you will see events for all levels.

For more information about severity levels, see “Viewing Event Reports That LOM Sends to syslogd” on page 61.

Each entry in the log includes the time of the event, the server’s host name, a unique identifier for the event, and a user-friendly text message describing the event.

Note The LOM device’s Event Log is never cleared, and it can contain several hundred entries. Events are stored from the very first time the server boots. Eventually the buffer might become full, but when this happens, the LOM device will start again at the beginning of the buffer, overwriting the earliest events.

To View All Events From the First to the nth Event Logged

Type:

lom> loghistory index +n [pause x] [level y]

where n is the number of events you want to see that have been logged since the first event in the current log, x is the number of lines you want to display before pausing, and y is the severity level of the events you want to see. By default, the loghistory command does not pause the display.

52 Sun Fire V100 Server User’s Guide • December 2001

Page 70
Image 70
Sun Microsystems Sun Fire V100 To View the Entire Event Log, To View All Events From the First to the nth Event Logged