Machine Administration Guide 2.6
Contents Index PreviousNext

Chapter 4 Command Reference

4.15 prterrlog (1M)

Name
prterrlog - SCF error log display command
Format
/usr/sbin/FJSVmadm/prterrlog [-i] [-e error_code] [-f file[-m model]] [-g] [-r] [-s] [-t type ] [-x] [-A yyyymmdd[HHMM]] [-B yyyymmdd[HHMM]] [ -S HHMM] [-E HHMM]
Function
The prterrlog command displays the SCF error log of hardware errors detected by the main unit.
Option
The options are:
-i
Displays the error log without updating the SCF error log information.
-e error_code
Displays the record of the specified error_code.
For error_code, specify a hexadecimal number such as 0x06040001.
To specify multiple error codes, write them in the form [-e error_code -e error_code].
-f file
Displays the specified file as an SCF error log file.
Do not update the SCF error log file before you display it.
-m model
Specify the model code of the host.
This option is useful for editing an SCF error log recorded on a different main unit. If this option is not specified, the system edits the log according to the model of the main unit and displays it.
-g
The time at which the log is stored in GMT is displayed.
-r
Information is displayed in reverse chronological order.
-s
Displays the following information in the one-line-one-event form.
  • Event number
  • Type
  • Time when the log was stored.
  • Error code or component
-t type
The following table shows the log types that can be specified.

type

Displayed item

E

Device or environment error detected by SCF.

H

Watchdog monitoring error

R

Error detected by OBP/POST

-x
Dump data is displayed in hexadecimal form.
-A yyyymmdd[HHMM]
Records logged since the date specified in yyyymmdd are displayed.
In cases where HHMM is specified, records logged since the time specified in HHMM of the day specified in yyyymmdd are displayed.
-B yyyymmdd[HHMM]
Records logged prior to the date specified in yyyymmdd are displayed.
In cases where HHMM is specified, records logged prior to the time specified in HHMM of the day specified in yyyymmdd are displayed.
-S HHMM
Displays the records logged from the time specified in HHMM through 23:59.
If -E is specified, records logged from the time specified with -S until the time specified with -E are displayed.
-E HHMM
Records logged from 00:00 until the time specified in HHMM are displayed.
If -S is specified, records logged from the time specified with -S until the time specified with -E are displayed.
Displayed item
The following information is displayed:
Type
Log type.
ID
Version number of the device.
This is displayed in an SCF error log (including Watchdog).
Version
Version information about SCF, OBP, and POST.
Date
Date when the error occurred.
Error code
Error code.
Component
Displayed for an OBP/POST log (POST detection).
Information
Detailed information.
Displayed in ASCII for an OBP/POST log (OBP detection).
In other logs, this is displayed in a hexadecimal dump.
Memory Configuration
Memory configuration information.
Displayed in an OBP/POST log (POST detection) for a memory configuration error.
Display example
- The following is an example of an SCF error log (SCF detection in type E).
Type                :  SCF(E)
ID             (hex) :  00
Version             :  C
Date                :  Nov  16  18 :29 : 39  1998
Error  code         :  fan warning  (0x06110002)
Information  (hex)  :  4001 0000 0000 0000   0000 0000 0000 0000
                       0000 0000 0000 0000   0000 0000 0000 0000
                       0000 0000 0000 0000   0000 0000 0000 0000

- The following is an example of an SCF error log (SCF detection in type H (Watchdog)).

Type                :  SYSTEM-WATCH(H)
ID             (hex) :  00
Version             :  D1
Date                :  Nov  16  18 :29 : 39  1998
Error  code         :  power-on check error  (0xf0000001)
Information  (hex)  :  0000 0000 0000 0000   0000 0000 0080 0080
                       0000 0000 0000 0000   0000 0000 0000 0000
                       0000 c6c0 0002 6df8   0000 0010 0000 0001

- The following is an example of an OBP/POST log (POST detection).

Type                :  BPROM(R)
Version             :  A(0119)
Date                :  Nov  16  18 :29 : 39  1998
Error code  (hex)    :  15250029
Component          :  SCSI#0
Information  (hex)  :  0000 01fe 0000 a800   cf00 0000 0000 fc00
                       Cf01 0000 0000 fc00   0001 0000 0000 0000
                       0000 0000 0000 0000   0000 0000 0000 0000

- The following is an example of an OBP/POST log (OBP detection).

Type                :  BPROM(R)
Version             :  A(0b01)
Date                :  Nov  16  18 :29 : 39  1998
Error code  (hex)    :  00000000
Information  Setting NVRAM parameters to default values.

- The following is an example of an OBP/POST error log (POST detection of memory configuration error).

Type                :  BPROM(R)
Version             :  A(0119)
Date                :  Nov  16  18 :29 : 39  1998
Error code  (hex)    :  112100a1
Component          :  Mem Config error
Memory Configuration  :
00-SLOT0 = 512MB 00-SLOT1 = 512MB 00-SLOT2 = 256MB 00-SLOT3 = 512MB
00-SLOT4 =  64MB 00-SLOT5 =  64MB 00-SLOT6 =  64MB 00-SLOT7 = 512MB
00-SLOT8 = 256MB 00-SLOT9 = 512MB 00-SLOT10= 256MB 00-SLOT11= 256MB
00-SLOT12=  64MB 00-SLOT13= 512MB 00-SLOT14= 512MB 00-SLOT15= 512MB
01-SLOT0 =----   01-SLOT1 =----   01-SLOT2 =----   01-SLOT3 =----
01-SLOT4 =----   01-SLOT5 =----   01-SLOT6 =----   01-SLOT7 =----
01-SLOT8 =----   01-SLOT9 =----   01-SLOT10=----   01-SLOT11=----
01-SLOT12=----   01-SLOT13=----   01-SLOT14=----   01-SLOT15=----
Information  (hex)  :  2020 1020 04040 0420   1020 1010 0420 2020
                       0000 0000 0000 0000   0000 0000 0000 0000
                       0000 0000 0000 0000   0000 0000 0000 0000
Example of use
To show the detailed information in an SCF error log in order of occurrence:
# /usr/sbin/FJSVmadm/prterrlog | more

To show the detailed information in an SCF error log in reverse chronological order:

# /usr/sbin/FJSVmadm/prterrlog -r | more

To show the detailed information in an SCF error log /tmp/scferrlog1 in order of occurrence:

# /usr/sbin/FJSVmadm/prterrlog -f /tmp/scferrlog1 | more

To display an SCF error log in the one-line-one-event form.

# /usr/sbin/FJSVmadm/prterrlog -s | more

To display the time when the log was stored in GMT:

# /usr/sbin/FJSVmadm/prterrlog -g | more
End status
The end status can be:
0: Normal end
Other than 0: Error
File
/var/opt/FJSVhwr/scferrlog
Related item
scferrlog (1M)

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2001-2005
All Rights Reserved, Copyright (C) PFU LIMITED 2001-2005