pyr_iosall(8) pyr_iosall(8)
NAME
pyriosall - device-independent log entry formatter
SYNOPSIS
/var/adm/error/bin/pyriosall [-v] [startno [endno]]
DESCRIPTION
Attention: Please refer also to errord(8) for context.
pyriosall is the device-independent log entry formatter for preparing
error files decompressed with zcat(1), or error messages from SCSI
devices recorded in these files. In contrast to the device-specific
filters, such as pyriosdisk, pyriostape etc. (see FILES) a complete
list of all error messages is produced, from which, in particular, the
sequence of messages with the same time stamp can be recognized.
pyriosall will supply either an outline view of the error messages
for overview purposes, or a detailed view of the error messages in
accordance with the device-specific filters.
Specific information can be output quickly, particularly for the
detailed view, by specifying a start and end number (the preparation
time per 1 MB of compressed data is approx. 20 seconds for the outline
view and approx. 5 minutes for the detailed view).
OPTIONS
-v (verbose) Detailed view. The error message is output in accor-
dance with the output of the device-specific filters pyriosdisk,
pyriostape etc. (see EXAMPLES).
A one-line outline view is output by default, comprising:
- serial item number
- date/time of message
- device name
- type of error severity
- cmd: = SCSI command (hex)
as well as, if available:
- sk: = SENSE KEYs (maximum 4, hex)
or
- cs: = Controller status (hex)
Page 1 Reliant UNIX 5.44 Printed 11/98
pyr_iosall(8) pyr_iosall(8)
startno endno
Output entries from/to.
If endno is missing, only the start number startno (i. e. only
1 entry) is output.
If -1 is given for endno, this means output to end.
DIAGNOSTICS
0 Command executed successfully
1 Error
2 Syntax error
ERROR MESSAGES
can't create <tempfile>
The file tempfile could not be created.
open for <device-specific formatter> failed
A specific filter (pyriosdisk, pyriostape etc.) could not be
called.
VARIABLES
PYRIOSPATH
Path of the log entry formatter.
The local PYRIOSPATH variable can be used to set a current path
for the device-specific filter (the default here is
/var/adm/error/bin). This enables evaluation of the error files
from other systems and different releases, provided the associ-
ated /var/adm/error/bin directory was transmitted along with the
error files.
Note:
With releases prior to 5.42, the entries for SENSE KEY or "Con-
troller status" may be distorted in the outline view because of
different structures; if in doubt you should check the detailed
view.
Page 2 Reliant UNIX 5.44 Printed 11/98
pyr_iosall(8) pyr_iosall(8)
EXAMPLES
Command: zcat errf*|pyriosall
Output:
1: 1995 Oct 27 14:40:57 SINIX-Y 5.43 A0017 RM600: viper
2: 1995 Oct 27 14:53:31 ios0/sdisk006 HARDERROR cmd: 1b sk: 02 3a 00 00
3: 1995 Oct 27 14:53:41 ios0/sdisk006 HARDERROR cmd: 1b sk: 02 04 01 00
4: 1995 Oct 27 14:53:45 ios0/sdisk006 HARDERROR cmd: 1b sk: 02 04 01 00
5: 1995 Oct 31 18:50:51 SINIX-Y 5.43 A0017 RM600: viper
6: 1995 Oct 31 21:22:20 ios0/sraid050l1 HARDERROR cmd: 2a sk: 06 15 01 01
7: 1995 Oct 31 21:22:20 ios0/sraid050l1 SOFTWARN cmd: 2a
8: 1995 Oct 31 21:37:03 ios0/sraid050l1 SOFTWARN cmd: 28 sk: 01 00 00 01
9: 1995 Nov 1 00:01:12 ios0/sraid050l1 HARDERROR cmd: 2a cs: f306
10: 1995 Nov 1 00:01:12 ios0/sraid050l1 HARDERROR cmd: 2a cs: f306
11: 1995 Nov 1 00:01:12 ios0/sraid050l1 HARDERROR cmd: 2a sk: 06 15 01 01
12: 1995 Nov 1 00:01:12 ios0/sraid050l1 SOFTWARN cmd: 2a
Command: zcat errf*|pyriosall -v 5 7
Output:
5:
DATE: Tue Oct 31 18:50:51 1995
sysname: SINIX-Y
nodename: viper
release: 5.43
version: A0017
machine: RM600
mtype:
baserel:
6:
log date : Tue Oct 31 21:22:20 1995
error type : ETHARD - Hardware related log entry
severity : ESERROR - We were unable to complete the request
kernel facility : EEDISK
device name : ios0/sraid050l1
device vendor/product : SNI PXRC
FW Rev. / Serial No. : V26Z /
Driver Message : ios0/sraid050l1s11: Write Extended 32 <seek> [7703:5
:0] <dkblk> 3944256 <pblk> 3944256
Host Adaptor Work Queue : #1
Host Adaptor Status : Good Status, No Host Adaptor Error
SCSI Status : Check Condition - An error has occurred
IOPB Command Type : SCSI Pass-Through
SCSI Command : Write Extended
REQUEST SENSE data : SENSE = 0x6 ASC = 0x15 ASCQ = 0x1 FRU = 0x1
SENSE data means : Mechanical positioning error
Page 3 Reliant UNIX 5.44 Printed 11/98
pyr_iosall(8) pyr_iosall(8)
Total REQUEST SENSE data : 00| 70 00 06 00 00 00 00 98 00 00 00 00 15 01 01 00
10| 00 01 00 00 01 00 15 01 00 00 01 03 00 00 00 00
20| 0a 45 28 03 51 00 00 2a 80 00 00 00 00 00 00 00
30| 00 00 00 00 00 00 20 20 20 20 20 20 43 58 35 33
40| 38 30 30 31 39 39 56 32 36 5a 00 00 00 00 00 39
50| 31 30 32 53 54 31 35 31 35 30 4e 20 20 20 20 20
60| 20 20 20 00 00 00
lpb flags : < BUSY, QUED, SENT, CHECK CONDITION >
Instance Code : 0328450a
FRU device locator : 01 03 00
7:
log date : Tue Oct 31 21:22:20 1995
error type : ETSOFT - Software related log entry
severity : ESWARN - We managed to recover from this error
kernel facility : EEDISK
device name : ios0/sraid050l1
device vendor/product : SNI PXRC
FW Rev. / Serial No. : V26Z /
Driver Message : ios0/sraid050l1s11: Write Extended 32 <seek> [7703:5
:0] <dkblk> 3944256 <pblk> 3944256
Host Adaptor Work Queue : #1
Host Adaptor Status : Good Status, No Host Adaptor Error
SCSI Status : Good Status
IOPB Command Type : SCSI Pass-Through
SCSI Command : Write Extended
lpb flags : < BUSY, QUED, SENT >
FILES
/var/adm/error/bin/pyriosdisk
Filter for disks
/var/adm/error/bin/pyriosgen
Filter for Sgen drivers
/var/adm/error/bin/pyriosjuke
Filter for jukeboxes
/var/adm/error/bin/pyriosraid
Filter for RAID devices
/var/adm/error/bin/pyriostape
Filter for tapes
/var/adm/error/bin/pyriosadp
Filter for ADAPTEC-SCSI controllers (RM400 only)
/var/adm/error/bin/pyriosswx
Filter for SWX-SCSI controllers (RM400 only)
Page 4 Reliant UNIX 5.44 Printed 11/98
pyr_iosall(8) pyr_iosall(8)
SEE ALSO
zcat(1), errord(8).
Page 5 Reliant UNIX 5.44 Printed 11/98