HP 3000 Manuals

System Log Record Formats (cont.) [ Getting System Information Programmer's Guide ] MPE/iX 5.0 Documentation


Getting System Information Programmer's Guide

System Log Record Formats (cont.) 

Process creation log record, type 141 

          Table 8-28.  Process Creation Record Format 

---------------------------------------------------------------------------------------------
|                 Length, in                  |               Record Content                |
|                16-bit words                 |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (141)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                     25                      - File name                                   -
---------------------------------------------------------------------------------------------
-                      1                      - (Reserved)                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Priority                                    -
---------------------------------------------------------------------------------------------
-                      2                      - Process Space ID                            -
---------------------------------------------------------------------------------------------
-                      4                      - Parent PID                                  -
---------------------------------------------------------------------------------------------
-                      2                      - NM_Heap_Size                                -
---------------------------------------------------------------------------------------------
-                      2                      - Capabilities mask*                          -
---------------------------------------------------------------------------------------------
-                      8                      - (Reserved)                                  -
---------------------------------------------------------------------------------------------
-                      8                      - User name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - Group name                                  -
---------------------------------------------------------------------------------------------
-                      8                      - Account name                                -
---------------------------------------------------------------------------------------------
-                      8                      - Job/session name                            -
---------------------------------------------------------------------------------------------

*The capabilities mask is read as follows:

          User              File access          Program/group
     bit    capability    bit   capability      bit   capability 
      0        SM          6       CV            23      BA
      1        AM          7       UV            24      IA
      2        AL          8       LG            25      PM
      3        GL          9       SP            28      MR
      4        DI         10       PS            30      DS
      5        OP         11       NA            31      PH
                          12       NM
                          13       CS
                          14       ND
                          15       SF

Change group record, type 143 

          Change Group Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (143)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      8                      - Old group name                              -
---------------------------------------------------------------------------------------------
-                      8                      - New group name                              -
---------------------------------------------------------------------------------------------
-                      2                      - CPU time                                    -
---------------------------------------------------------------------------------------------
-                      2                      - Connect time                                -
---------------------------------------------------------------------------------------------

File open record,type 144* 

          Table 8-29.  File Open Record Format 

--------------------------------------------------------------------------------------------
|        Length,        |                          Record Content                          |
|       in 16-bit       |                                                                  |
|         Words         |                                                                  |
--------------------------------------------------------------------------------------------
-           1           - Record type (144)                                                -
--------------------------------------------------------------------------------------------
-           1           - Record length                                                    -
--------------------------------------------------------------------------------------------
-           1           - Process identification number                                    -
--------------------------------------------------------------------------------------------
-           3           - Time stamp                                                       -
--------------------------------------------------------------------------------------------
-           2           - Job type/job number                                              -
--------------------------------------------------------------------------------------------
-           8           - User name                                                        -
--------------------------------------------------------------------------------------------
-           8           - User's account name                                              -
--------------------------------------------------------------------------------------------
-           8           - User's logon group name                                          -
--------------------------------------------------------------------------------------------
-           2           - User ID                                                          -
--------------------------------------------------------------------------------------------
-           8           - File name                                                        -
--------------------------------------------------------------------------------------------
-           8           - File group name                                                  -
--------------------------------------------------------------------------------------------
-           8           - File account name                                                -
--------------------------------------------------------------------------------------------
-           8           - File creator name                                                -
--------------------------------------------------------------------------------------------
-          10           - File UFID                                                        -
--------------------------------------------------------------------------------------------
-           2           - File number                                                      -
--------------------------------------------------------------------------------------------
-           1           - Foptions                                                         -
--------------------------------------------------------------------------------------------
-           1           - File code                                                        -
--------------------------------------------------------------------------------------------
|           1           | Reserved (bits 0-5)/Access privileges (bits 6-7)/ Security mask  |
|                       | (bits 8-15)                                                      |
--------------------------------------------------------------------------------------------
-           1           - Reserved                                                         -
--------------------------------------------------------------------------------------------
-           2           - HPE status                                                       -
--------------------------------------------------------------------------------------------
-           2           - Object size (current)                                            -
--------------------------------------------------------------------------------------------
-           2           - File Limit                                                       -
--------------------------------------------------------------------------------------------
-           3           - File descriptor                                                  -
--------------------------------------------------------------------------------------------
-           7           - Reserved                                                         -
--------------------------------------------------------------------------------------------

NOTES: 

The file open record is only logged when an error is detected during
FOPEN; therefore, the values in the record are not always valid.
Specifically, values in the File Limit and Object Size fields are only
valid after an error is detected during FOPEN.

Maintenance request record, type 146 

          Table 8-30.  Maintenance Request Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (146)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                     20                      - Device ID                                   -
---------------------------------------------------------------------------------------------
-                     20                      - PDEV                                        -
---------------------------------------------------------------------------------------------
-                     20                      - LDEV                                        -
---------------------------------------------------------------------------------------------
-                      2                      - Format ID                                   -
---------------------------------------------------------------------------------------------
-                      2                      - Log type                                    -
---------------------------------------------------------------------------------------------
-                      2                      - Head - reserved                             -
---------------------------------------------------------------------------------------------
-                     948                     - Data                                        -
---------------------------------------------------------------------------------------------

NOTES: 

       Field           Length                         Description 
                      (Bytes) 
Device ID                32      Identifies the device; for example, HP7935 (+8 bytes
                                 for Pascal string).
PDEV                     32      Physical path to the device; for example, 8.0.0 (+8
                                 bytes for Pascal string).
LDEV                     32      Logical device file name (+8 bytes for Pascal
                                 string).
Format ID                4       1 = data is HP-IB format
                                 2 = data is FLEX format
                                 3 = data is NIO format
Logtype                  4       0 = no data; no logging errors found
                                 101 = data is a run-time error data log record
                                 102 = data is a fault error data log record
Head/Reserved            4       101 = head number
                                 0 or 102 = reserved
Data                    1896     Up to 1896 bytes are allowed

Diagnostic information records, type 150 

          Table 8-31.  Auto-Diagnostic Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (150)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      2                      - Type number                                 -
---------------------------------------------------------------------------------------------
-                     16                      - Hardware product number                     -
---------------------------------------------------------------------------------------------
-                     16                      - Physical path description                   -
---------------------------------------------------------------------------------------------
-                     16                      - Logical device name                         -
---------------------------------------------------------------------------------------------
-                      1                      - Device class identifier                     -
---------------------------------------------------------------------------------------------
-                     50                      - Diagnostic messages                         -
---------------------------------------------------------------------------------------------

NOTES: 

There are two different formats for type 150 diagnostic information
records:  one is the auto-diagnostic record format and the other is the
diagnostic system information record format.  You can determine which
format is used by looking at the type number field just after the header.

Type Number 

       0 = Auto-diagnostic record format
       3 = Diagnostic system information record format

In the diagnostic messages field, a continuation flag indicates whether
another related message was placed into the log file.

Diagnostic system information record 

          Table 8-32.  Diagnostic System Information Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (150)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      2                      - Type number                                 -
---------------------------------------------------------------------------------------------
|                  Up to 128                  | Diagnostic system messages or status        |
|                                             | information                                 |
---------------------------------------------------------------------------------------------

NOTES: 

There are two different formats for type 150 diagnostic information
records:  one is the auto-diagnostic record format and the other is the
diagnostic system information record format.  You can determine which
format is used by looking at the type number field just after the header.

Type Number 

       0 = Auto-diagnostic record format
       3 = Diagnostic system information record format

The diagnostic system information can include information about which
users requested single-user mode (SUM). It can also record internal
diagnostic system errors detected when no user exists to report them to.
This can occur when an I/O error is logged, for example.

High-priority machine check, type 151 

          Table 8-33.  High-Priority Machine Check Record Format 

---------------------------------------------------------------------------------------------
|      Length,      |                            Record Content                             |
|     in 16-bit     |                                                                       |
|       Words       |                                                                       |
---------------------------------------------------------------------------------------------
-         1         - Record type (151)                                                     -
---------------------------------------------------------------------------------------------
-         1         - Record length                                                         -
---------------------------------------------------------------------------------------------
-         1         - Process identification number                                         -
---------------------------------------------------------------------------------------------
-         3         - Time stamp                                                            -
---------------------------------------------------------------------------------------------
|         2         | Job type (bits 0-1)/job number (bits 2-15 of word 1, bits 0-15 of     |
|                   | word 2)                                                               |
---------------------------------------------------------------------------------------------
-         2         - Hardware ID                                                           -
---------------------------------------------------------------------------------------------
-         2         - Number of bytes in record                                             -
---------------------------------------------------------------------------------------------
-         2         - GR 0                                                                  -
---------------------------------------------------------------------------------------------
-         2         - :                                                                     -
---------------------------------------------------------------------------------------------
-         2         - GR31                                                                  -
---------------------------------------------------------------------------------------------
-         2         - CR0                                                                   -
---------------------------------------------------------------------------------------------
-         2         - :                                                                     -
---------------------------------------------------------------------------------------------
-         2         - CR31                                                                  -
---------------------------------------------------------------------------------------------
-         2         - SR0                                                                   -
---------------------------------------------------------------------------------------------
-         2         - :                                                                     -
---------------------------------------------------------------------------------------------
-         2         - SR7                                                                   -
---------------------------------------------------------------------------------------------
-         2         - Interrupting instruction address space                                -
---------------------------------------------------------------------------------------------
-         2         - Interrupting instruction address offset                               -
---------------------------------------------------------------------------------------------
|         2         | 0 Check type word (bits 0-4 of word 1)/Reserved (bits 5-15 of word 1, |
|                   | bits 0-15 of word 2)                                                  |
---------------------------------------------------------------------------------------------
|         2         | 0 CPU state word (bits 0-5 of word 1)/Reserved (bits 6-15, bits 0-12  |
|                   | of word 2)/Past OK (bit 13 of word 2)/Error cleared (bits 14-15 of    |
|                   | word 1, all word 2)                                                   |
---------------------------------------------------------------------------------------------
|         2         | 0 Detected by word (bits 0-2 of word 1)/Reserved (bits 3-15 of word   |
|                   | 1, all word 2)                                                        |
---------------------------------------------------------------------------------------------
|         2         | 0 Cache check word (bits 0-3 of word 1)/Reserved (bits 4-15 of word   |
|                   | 1, all word 2)                                                        |
---------------------------------------------------------------------------------------------
|         2         | 0 TLB check word (bits 0-4 of word 1)/Reserved (bits 5-15 of word 1,  |
|                   | all word 2)                                                           |
---------------------------------------------------------------------------------------------
|         2         | 0 Bus check word (bits 0-9 of word 1)/Reserved (bits 10-15, all word  |
|                   | 2)                                                                    |
---------------------------------------------------------------------------------------------
|         2         | 0 Assist check word (bits 0-2 of word 1)/Reserved (bits 3-15 of word  |
|                   | 1, all word 2)                                                        |
---------------------------------------------------------------------------------------------
-         2         - 0 Processor check word - reserved                                     -
---------------------------------------------------------------------------------------------
|         2         | Reserved (all word 1, bits 0-12 of word 2)/Assist ID word (bits 13-15 |
|                   | of word 2)                                                            |
---------------------------------------------------------------------------------------------
-      Varies       - System-dependent portion of PIM                                       -
---------------------------------------------------------------------------------------------

NOTES: 

Fields starting with GR0 to the end of the record contain processor
internal memory (PIM). Record type 151 contains HPMC PIM and record type
152 contains LPMC.

The first PIM fields contain information from the registers (such as
general registers, GR0-31, and control registers, CR0-31).  The length of
the last PIM field (system-dependent portion of PIM) is hardware
dependent.  However, the total length of a logging record is restricted
to 2KB. Refer to the appropriate hardware manuals for more information.

The nature of a high-priority machine check is passed by setting nonzero
values in the appropriate fields of the record.  The layout of these
error parameters is as follows:

Check type word.   

Bits                                        Definition 

0:1                                         Cachce system check
1:1                                         TLB check
2:1                                         Bus transaction check
3:1                                         Assists check
4:1                                         Processor internal check

CPU state word.   

Bits                                        Definition 

0:1                                         Interrupting instruction address queue
                                            valid
1:1                                         Interrupting instruction address queue
                                            fault

2:1                                         IPRs valid
3:1                                         General registers valid
4:1                                         Control registers valid
5:1                                         Space registers valid

Detected by word.   

Bits                                        Definition 

0:1                                         Instruction fetch
1:1                                         Load
2:1                                         Load and clear
3:1                                         Store
4:1                                         Flush I-cache
5:1                                         Flush D-cache
6:1                                         Purge D-cache
7:1                                         Copyout of dirty cache line
8:1                                         Instruction prefetch
9:1                                         Data prefetch
10:1                                        Remote cache consistency check
11:1                                        Local purge TLB
12:1                                        Remote purge TLB
13:1                                        Probe read access
14:1                                        Probe write access
15:1                                        Coprocessor operation
16:1                                        SFU operation
17:1                                        Insert I or D TLB protection or access

Cache check word.   

Bits                                        Definition 

0:1                                         I-cache check
1:1                                         D-cache check
2:1                                         Tag check
3:1                                         Data check

TLB check word.   

Bits                                        Definition 

0:1                                         I-TLB check
1:1                                         D-TLB check

Bus check word.   

Bits                                        Definition 

0:1                                         Address error

1:1                                         Data slave error
2:1                                         Data parity error
3:1                                         Data protocol error
4:1                                         Read transaction
5:1                                         Write transaction
6:1                                         Memory space transaction
7:1                                         I/O space transaction
8:1                                         Processor was master in transaction
9:1                                         Processor was slave in transaction

Assists check word.   

Bits                                        Definition 

0:1                                         Coprocessor check
1:1                                         SFU check
2:1                                         Assist ID valid

Processor check word.   

All fields of this word are currently reserved.

Assist ID word.   

The 3-bit unit ID field of the failing SFU or coprocessor is stored
right-justified in bits 29:3 of the assist ID word.

Low-priority machine check, type 152 

          Table 8-34.  Low-Priority Machine Check Record Format 

---------------------------------------------------------------------------------------------
|      Length,      |                            Record Content                             |
|     in 16-bit     |                                                                       |
|       Words       |                                                                       |
---------------------------------------------------------------------------------------------
-         1         - Record type (152)                                                     -
---------------------------------------------------------------------------------------------
-         1         - Record length                                                         -
---------------------------------------------------------------------------------------------
-         1         - Process identification number                                         -
---------------------------------------------------------------------------------------------
-         3         - Time stamp                                                            -
---------------------------------------------------------------------------------------------
|         2         | Job type (bits 0-1)/job number (bits 2-15 of word 1, bits 0-15 of     |
|                   | word 2)                                                               |
---------------------------------------------------------------------------------------------
-         2         - Hardware ID                                                           -
---------------------------------------------------------------------------------------------
-         2         - Number of bytes in record                                             -
---------------------------------------------------------------------------------------------
-         2         - GR 0                                                                  -
---------------------------------------------------------------------------------------------
-         2         - :                                                                     -
---------------------------------------------------------------------------------------------
-         2         - GR31                                                                  -
---------------------------------------------------------------------------------------------
-         2         - CR0                                                                   -
---------------------------------------------------------------------------------------------
-         2         - :                                                                     -
---------------------------------------------------------------------------------------------
-         2         - CR31                                                                  -
---------------------------------------------------------------------------------------------
-         2         - SR0                                                                   -
---------------------------------------------------------------------------------------------
-         2         - :                                                                     -
---------------------------------------------------------------------------------------------
-         2         - SR7                                                                   -
---------------------------------------------------------------------------------------------
-         2         - Interrupting instruction address space                                -
---------------------------------------------------------------------------------------------
-         2         - Interrupting instruction address offset                               -
---------------------------------------------------------------------------------------------
|         2         | 0 Check type word (bits 0-4 of word 1)/Reserved (bits 5-15 of word 1, |
|                   | bits 0-15 of word 2)                                                  |
---------------------------------------------------------------------------------------------
|         2         | 0 CPU state word (bits 0-5 of word 1)/Reserved (bits 6-15, bits 0-12  |
|                   | of word 2)/Past OK (bit 13 of word 2)/Error cleared (bits 14-15 of    |
|                   | word 1, all word 2)                                                   |
---------------------------------------------------------------------------------------------
|         2         | 0 Detected by word (bits 0-2 of word 1)/Reserved (bits 3-15 of word   |
|                   | 1, all word 2)                                                        |
---------------------------------------------------------------------------------------------
|         2         | 0 Cache check word (bits 0-3 of word 1)/Reserved (bits 4-15 of word   |
|                   | 1, all word 2)                                                        |
---------------------------------------------------------------------------------------------
|         2         | 0 TLB check word (bits 0-4 of word 1)/Reserved (bits 5-15 of word 1,  |
|                   | all word 2)                                                           |
---------------------------------------------------------------------------------------------
|         2         | 0 Bus check word (bits 0-9 of word 1)/Reserved (bits 10-15, all word  |
|                   | 2)                                                                    |
---------------------------------------------------------------------------------------------
|         2         | 0 Assist check word (bits 0-2 of word 1)/Reserved (bits 3-15 of word  |
|                   | 1, all word 2)                                                        |
---------------------------------------------------------------------------------------------
-         2         - 0 Processor check word - reserved                                     -
---------------------------------------------------------------------------------------------
|         2         | Reserved (all word 1, bits 0-12 of word 2)/Assist ID word (bits 13-15 |
|                   | of word 2)                                                            |
---------------------------------------------------------------------------------------------
-      Varies       - System-dependent portion of PIM                                       -
---------------------------------------------------------------------------------------------

NOTES: 

The fields in this record are the same as the corresponding fields in the
high-priority machine check record (type 151).  See the notes following
the record.

CM file close record, type 160 

          Table 8-35.  CM File Close Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (160)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                     13                      - File name - format of fname.group.acct      -
---------------------------------------------------------------------------------------------
-                      1                      - Reserved                                    -
---------------------------------------------------------------------------------------------
-                      1                      - Disposition (bits 0-7)/Domain (bits 8-15)   -
---------------------------------------------------------------------------------------------
-                      2                      - Number of sectors allocated                 -
---------------------------------------------------------------------------------------------
-                      1                      - Device type (bits 0-7)/Unused (bits 8-15    -
---------------------------------------------------------------------------------------------
-                      2                      - Number of records transferred               -
---------------------------------------------------------------------------------------------
-                      2                      - Number of blocks transferred                -
---------------------------------------------------------------------------------------------
-                      1                      - Logical device number                       -
---------------------------------------------------------------------------------------------

NOTES: 

Close Disposition (bits 13:3)                     Open Domain 
 0  No change                                      0  New file
 1  Save permanent                                 1  Old permanent file
 2  Save temporary - rewound                       2  Old temporary file
 3  Save temp - not rewound                        3  Old job or sys
 4  Delete
 5  Make temporary

Disk Space Disposition (bits 11:2) 

 0             Do not return disk space allocated beyond EOF.
 1             Return disk space allocated beyond EOF to system; EOF becomes file
               limit.
 2             Return disk space allocated beyond EOF to system; file limit remains
               the same (NM file types only).

The Disposition field in a CM file close record can have values from 0-4,
8-12, and 255.  Any files left open during process termination are closed
by the system and given a disposition of 255.



MPE/iX 5.0 Documentation