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

Array Logs 213
Array Logs
logprn
Description
The logprn command reads log entries from log database files and directs
them to stdout (screen). The output can also be redirected to a text file, which
is required for the Command View SDM log tool operation. The log entries
retrieved can be limited by setting the start and stop range option. A filter
option (-t) can be used to define the exact type of log entries to retrieve.
Syntax
logprn -a <array-id> [-s <start_time>] [-e <stop_time>] [-d <dir>] [-t <log_type>]
[-sv <severity>] [-b | -v | -xml] [-lang <lang_num>]
logprn -?
Options
-a <array-id>
-a <hostname:><array-id>
The array ID which can be the: serial number, alias, device path, or
world wide name.
-d <dir> Directory where the log files are located. If not specified, this directory is
obtained from the system configuration file settings.
-s <start_time> Specifies the oldest log entry to view. If not specified, viewing starts with
the oldest log entry. The format for entering time is:
mmddhhMM[yyyy]
where:
mm = month (01-12)
dd = day (01-31)
hh = hour (01-23)
MM = minute (01-59)
yyyy = year (such as 2001), if not specified current year is used.
-e <stop_time> Specifies the newest log entry to view. If not specified, viewing ends with
the newest entry. Uses same time format as start_time.