HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

a
amlog(1M) amlog(1M)
NAME
amlog - displays host-based controller log entries for a disk array
SYNOPSIS
amlog [-s StartTime][-e EndTime][
-t <RecordType[,RecordType...]>] [
-c][
-d LogDir][-S]
[
-V][-a ArrayID]
amlog -?
DESCRIPTION
amlog displays the contents of the disk array controller logs maintained by the host. These logs contain
information useful for diagnosing and troubleshooting the disk array. The host maintains multiple log files
containing entries for each disk array.
The ArrayID used to address the disk array must be the disk array ID. An alias name cannot be used
because alias names are not recorded in the log.
Identifying Disk Modules
Disk modules are identified within Array Manager 60 using a numbered pair of the form n:n. The first
number identifies the SCSI channel (or bus) connecting the array controller to the enclosure containing the
disk module. The channel number is indicated on the back of the array controller enclosure. The second
number is the disk module SCSI ID. The SCSI ID is determined by the slot in which the disk module is
installed, but is not the same as the physical slot number (0-9).
For example, the numbered pair
2:1 identifies the disk module on channel 2 with a SCSI ID of 1. Refer to
the Disk Array FC/60 User’s Guide for more information on disk module addressing.
Options
amlog supports the following options:
-a ArrayID Identify a specific disk array for which the logs will be displayed. The default is to
display the logs for all disk arrays.
-c Limits major event log output to events of critical priority. This option is ignored
unless specified in conjunction with -t mel.
-d LogDir Specify the path name of the log directory. The default is
/var/opt/hparray/log
.
-e EndTime Specify the ending date and time. Log records with a later date and time will not be
printed. The default is the time of the last log record. Uses the same format as Start-
Time.
-s StartTime Specify the starting date and time. Log records with an earlier date and time will not
be printed. The default is the time of the oldest log record. The format for entering
the date and time is MMddhhmm[yy], where
MM = Month (01-12)
dd = Day (01-31)
hh = Hour (00-23)
mm = Minute (00-59)
yy = Year (00-99) [optional]. Years earlier than 90 are interpreted as 2000 + YY.
-S Raw output display. Data is output as a colon-delimited ASCII text string. Raw out-
put format is described below.
-t RecordType
Specify the log record types to be displayed. Valid record types are ctrlr (controller
log sense) and mel (major event log). The default selection is ctrlr. Major event
logging is available in firmware versions HP07 and later.
-V Verbose output, displays additional "raw" major event log data, which can only be
interpreted via the MEL Specification. This option is ignored unless specified in con-
junction with -t mel.
-? Display expanded usage message. This option overrides all others.
Section 1M32 Hewlett-Packard Company 1 HP-UX 11i Version 1: September 2005