
Chapter 8 Advanced Topics 225
■ The -d option. The -d option generates additional device information. It writes
an additional header line that contains the equipment ordinal and path name to
the device for each record. This makes it easier to search for and to locate SEF
records that pertain to a specific device.
■ The -v option or the -t option.
The -v option generates information in verbose mode. It appends information
regarding the equipment ordinal, page code, and VSN to each line of a record.
This makes it possible to select only those lines that pertain to a specific device or
a specific volume.
The -t option generates log sense output with text descriptions. For each line of
log sense data output, the report includes an additional string containing the
equipment ordinal, page code, VSN, and parameter code description.
Do not specify the -t and -v options on the same command line. They are
mutually exclusive.
For example, the following SEF command reads the SEF log file from the default
location, writes the device number and path name for each device, and generates
output:
CODE EXAMPLE 8-3 shows the content of sef.output file.
# sefreport –d /var/opt/SUNWsamfs/sef/sefdata > sef.output
CODE EXAMPLE 8-3 sef.output Contents
Record no. 1
Mon Mar 26 11:17:48 2001 STK 9840 1.25 VSN 002981
Eq no. 32 Dev name /dev/rmt/1cbn
PAGE CODE 2
param code control param value
00h 74h 0x0
01h 74h 0x0
02h 74h 0x0
03h 74h 0x0
04h 74h 0x0
05h 74h 0x40050
06h 74h 0x0
Comentarios a estos manuales