Showlogs Command Options - Sun Microsystems IB Switch 9P Administration Manual

Table of Contents

Advertisement

Sample of showlogs command for SSC0
CODE EXAMPLE 3-10
Jan 01 00:00:06: MINOR: SSC0: Active LED state changed to ON.
Jan 01 00:00:06: MINOR: SSC0: Service Required LED state changed
to OFF.
Jan 01 00:00:06: MINOR: SSC0: Locator LED state changed to OFF.
Jan 01 00:01:58: MAJOR: Factory commands Enabled
Jan 01 00:00:03: MINOR: SSC0: Environmental monitoring enabled.
Jan 01 00:00:06: MINOR: SSC0: Active LED state changed to ON.
Jan 01 00:00:06: MINOR: SSC0: Service Required LED state changed
to OFF.
Jan 01 00:00:06: MINOR: SSC0: Locator LED state changed to OFF.
Jan 04 16:32:22: MINOR: SSC0: Service Required LED state changed
to ON.
Jan 04 16:32:39: MINOR: SSC0: Service Required LED state changed
to OFF.
Nov 30 11:28:42: MINOR: SSC0: Locator LED state changed to
FLASHING.
Nov 30 11:28:54: MINOR: SSC0: Locator LED state changed to OFF.
sc>

showlogs Command Options

The showlogs command uses six options. You can use the -g option in combination
with the -b, -e, or -v options. If you do not specify the -g option, the screen output
does not pause.
showlogs Command Options
TABLE 3-11
Option
Description
Displays the entire contents of the buffer file and the contents of
-v
NVRAM (the persistent event log).
-b lines
Displays the events from the beginning of the buffer, where lines is
the number of lines that you specify. For example, the following
command displays the first 100 lines in the buffer:
showlogs -b 100
-e lines
Displays the events from the end of the buffer file, where lines is the
number of lines that you specify. If new data appears in the log
while you are executing this command, the new data is appended to
the screen output. For example:
showlogs -e 10
Chapter 3 Command-Line Reference
43

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IB Switch 9P and is the answer not in the manual?

Table of Contents