HP StorageWorks Command View SDM Installation and User Guide (T1086-96023, February 2005)

220 Array Logs
entries. The file name consists of the creation day (dd) followed by the file
type name (ctrlr for controller or usage).
The directory for the software database logs is:
/commandview/server/logs/software/yyyy-dd/dd-sw.log
The entries are organized into directories identifying the year and month
(yyyy-MM) the file was created. The file name consists of the creation day
(dd) followed by the software (sw) file type name.
Log Entry Format
If you wish to create your own user file filtered on specific entries from the Log
Text File, you can create a script to generate the desired output. An entry in
the log text file consists of one line with multiple data fields containing the
following information:
DeviceUniqueName, Date, Time, DeviceName, DeviceType,
DeviceSequence, FruIdentifier, FRULocation, LogCode, Count;
Sequence, Type, Text
Each field in the line entry is separated by a field separator with the end of
the line terminated by a record separator:
[Field 1] [FS] [TAB] [Field 2] [FS] [Field 2] [FS] [TAB]...[field n] [FS] [Tab] [RS] [C
R
L
F
]
The field separator (FS) is a CTRL _ (0x001f) character and the record
separator (RS) is a CTRL ^ (0x001e) character.
If a field [Field n] is missing, the FS and TAB for that field will still be present.
[Field 1] [FS] [TAB] [FS] [TAB] [Field 3] [FS] [TAB]...[field n] [FS] [Tab] [RS] [C
R
L
F
]
Using the information provided here, it is possible to create a script file to
access the log text files and sort on any number of the log entries to produce a
user sorted log file.