HP 3000 Manuals

Getting System Information Programmer's Guide MPE/iX 5.0 Documentation


Getting System Information Programmer's Guide

Table of Contents

 Getting System Information Programmer's Guide
   Getting System Information Programmer's Guide : COPYRIGHT NOTICE

   Ch 1.  Introduction

   Ch 2.  Getting File Information
      General File Information
          Obtaining file descriptions using LISTFILE
          LISTFILE examples
          Obtaining descriptions of temporary files with LISTFILE
          Listing file equations with LISTEQ
          Obtaining file information using intrinsics
             FFILEINFO
             FLABELINFO
             Comparison table: FFILEINFO and FLABELINFO
          Obtaining file information with FINFO evaluator function
          Getting security information with HPACDINFO or HPACDPUT
          Reading user-defined labels with FREADLABEL
          Determining file relationships with FRELATE
      File Error Information
          Returning file system error codes with FCHECK
          Returning error messages with FERRMSG
          Displaying file error information with PRINTFILEINFO
          Writing a file system error check procedure

   Ch 3.  Getting Job and Session Information
      Job and Session File Information
      Job and Session Status Information
          Obtaining current status with SHOWME
          Obtaining current status using predefined variables
          Obtaining job or session information with JOBINFO
          Obtaining job or session information with predefined variables
          Obtaining user information with WHO
             Example: Using WHO to test for interactive user
             Example: Using a command file to test user capabilities
      Job and Session Commands Information
          Displaying operator commands with SHOWALLOW
          Displaying UDCs with SHOWCATALOG
      Job and Session Variable Information
          Displaying current job/session variables with SHOWVAR
          Displaying job control words with SHOWJCW
          Searching for JCWs with FINDJCW
          Returning JCW value with GETJCW
          Returning variable value with HPCIGETVAR
          Programmatic use of predefined variables
             Example: Using predefined variables to add capabilities
             Example: Using predefined variables to check file existence
             Example: Using FINFO to check file existence
             Example: Using JCW to test for fatal error

   Ch 4.  Getting Process Information

   Ch 5.  Getting Time and Date Information
      Summary of Time and Date Functions
      System Timer Information
          TIMER
          CLOCK
          CALENDAR
      Formatted Timer Information Intrinsics
          FMTCLOCK
          FMTCALENDAR
          FMTDATE
          DATELINE
          SHOWTIME
      Process Time Information
          PROCTIME

   Ch 6.  Getting Input and Output Information
      Showing I/O Device Status with SHOWDEV
      Showing I/O Device Status with SHOWIN and SHOWOUT

   Ch 7.  Getting System Administration Information
      Capabilities
      Showing Administration Information with LIST Commands
      REPORT Command
      Displaying Free Space with the DISCFREE Utility

   Ch 8.  System Logging
      Using System Logging
      Accessing Log Files from Programs
          Creating and naming log files
          Log file commands
          File security
          Log file structure
          Console messages for log files
          File error handling
      Logging Formats
      Log Record Heading
      System Log Record Formats
          Log failure record,type 100
          System up record,type 101
          Job initiation record, type 102
             Logon queue
             CPU time limit
             MPE/iX status
          Job termination record, type 103
          Process termination record, type 104
          NM File close record, type 105
             Unique file identifier (UFID)
             Disposition field
          Shutdown record,type 106
          Power failure record, type 107
          I/O error record,type 111
          Physical mount/dismount record, type 112
          Logical mount/dismount record, type 113
          Tape labels record,type 114
          Console log record, type 115
          Program file event record, type 116
          NMS spoolfile done log record, type 120
          Processor launch information log record, type 131
          Password changes log record, type 134
          System logging configuration record, type 135
          Restore log record,type 136
          Printer access failure log record, type 137
          ACD changes log record, type 138
          Job stream initiation log record, type 139
          User logging record, type 140
      System Log Record Formats (cont.)
          Process creation log record, type 141
          Change group record, type 143
          File open record,type 144*
          Maintenance request record, type 146
          Diagnostic information records, type 150
          Diagnostic system information record
          High-priority machine check, type 151
             Check type word
             CPU state word
             Detected by word
             Cache check word
             TLB check word
             Bus check word
             Assists check word
             Processor check word
             Assist ID word
          Low-priority machine check, type 152
          CM file close record, type 160

   Ch 9.  Error Management
      Reading Errors from the Process Stack with HPERRREAD
      Obtaining Process Error Stack Depth with HPERRDEPTH
      Obtaining Error Messages with HPERRMSG
      An Example of Error Management
   INDEX
       Index



MPE/iX 5.0 Documentation