| United States-English |
|
|
|
![]() |
HP-UX Reference (Volume 3 of 9): Section 1M: System Administration Commands (A-M) > aamlog(1M) |
|
NAMEamlog — displays host-based controller log entries for a disk array DESCRIPTIONamlog 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 ModulesDisk 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. Optionsamlog supports the following options:
SECURITY CONFIGURATIONThis command is modified for all security configurations. PrivilegesThe command has been modified to support least privilege. The potential privileges possessed by the command and their uses include:
EXTERNAL INFLUENCESEnvironment VariablesLC_MESSAGES determines the language in which messages are displayed. The current language settings can be checked with locale(1). RETURN VALUEamlog returns the following values:
DIAGNOSTICSThe following message can be generated by amlog: Usage: amlog [-s <StartTime>] [-e <EndTime>] [-d <LogDir>] [-S] [-a <ArrayID>] amlog -?
EXAMPLESDisplay the controller log for disk array 000200A0B805E798. Display the log entries entered since 6/1/99. amlog -s 0601000099 -a 000200A0B805E798 Display the controller log for all disk arrays on the host. Use the default settings to display all log entries. amlog RAW OUTPUT FORMATThe contents of the raw output text string for log entries is as follows: AL:LogFilename:AddSenAvailable:SenseDate:SenseTime:FRUCode: FRUCodeQual:SK:ASC:ASCQ:ArrayID:LogDate:LogTime:LUN One record will be printed for each log entry between the start and end times. LogFilename is the name of the server log file where the record is found. The leading AL is literal, and identifies this as an AM60 LOG record. AddSenAvailable is a boolean that indicates whether the SenseDate, SenseTime and FRUCodeQual are available from the SCSI sense data that generates these fields. If FALSE (0), these fields will be undefined. SenseDate and SenseTime correspond to the time of the reported event, while LogDate and LogTime correspond to the time when the event was written to the log file. The format of the SenseDate is MMDDYY, while that of LogDate is MMDDYYYY. The format for the SenseTime and LogTime is HHMMSS. The SCSI sense data fields, FRUCode, SK, ASC,ASCQ, are one byte hexadecimal; the FRUCodeQual field is two bytes hexadecimal. If the LUN information in the sense data is valid, it will be included. |
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||