HP 3000 Manuals

Operation [ MPE/iX System Utilities Reference Manual ] MPE/iX 5.0 Documentation


MPE/iX System Utilities Reference Manual

Operation 

To invoke LOGTOOL enter:

     SYSDIAG 
     DUI > RUN LOGTOOL 

For detailed information on any command enter HELP followed by the
command name.  For example, to see information about the LIST command,
enter:

     LOGTOOL> HELP LIST 

To display data from a set of system log files:

   1.  Log on as MANAGER.SYS or with SM, OP or DI capability.

   2.  List the names of log files currently on your system before 
       invoking LOGTOOL:

            LISTFILE LOG@.PUB.SYS 

   3.  Invoke LOGTOOL:

            SYSDIAG 
            DUI > RUN LOGTOOL 

   4.  To get data from your current logfile enter the following command
       to close it and open a new one:

            LOGTOOL> SWITCHLOG 

   5.  If necessary, display logfile record types.  (You may skip this
       step if you already are famililar with types) : 

            LOGTOOL> TYPES 

   6.  Display the analysis for specified logfiles as a formatted list.

            SYSDIAG>LIST LOG=9/14,17,20,22;TYPE=111,146 

       You may enter the LOG parameter as a range of numbers such as
       9/14, as a string of numbers such as 17,20,22, or as a combination
       range and string.  (In this example, LOGTOOL will analyze logfiles
       LOG0009 through LOG0014 and LOG0017 and LOG0020 and LOG0022.)

       The TYPE parameter specifies the event types you want analyzed.
       (In the example, types 111, I/O errors, and type 146, maintenance
       requests, was specified.)

       If you do not wish to see the analysis on your terminal screen,
       but prefer to write the records to an output file, you would use
       the ;OUTFILE parameter as follows: 

            SYSDIAG>LIST LOG=9/14,17,20,22;OUTFILE=MYFILE;TYPE=111,146 

       In this example, the output file MYFILE. You may choose any name
       so long as it begins with an alphabetic character.  LOGTOOL writes
       the output file to the DIAG group of the SYS account.  You may use
       any HP3000 text editor to examine the output file.  You may also
       copy it with the COPY command or the FCOPY utility.

   7.  Exit the LOGTOOL utility:

            LOGTOOL> EXIT 
            DUI > EXIT 

COMMAND SUMMARY 

There are three categories of LOGTOOL commands:  System Log File Commands
(SLF), Memory Log File Commands (MLF), and Miscellaneous Commands (MC).
They are briefly described in the following table.

          Table 13-1.  LOGTOOL Commands 

-----------------------------------------------------------------------------------------------
|                   |                   |                                                     |
|       Name        |     Category      |                     Description                     |
|                   |                   |                                                     |
-----------------------------------------------------------------------------------------------
|                   |                   |                                                     |
| DISPLAYLOG        | (SLF)             | Displays I/O entries as information is logged.      |
|                   |                   |                                                     |
| EXIT              | (MC)              | Exits LOGTOOL and returns user to DUI.              |
|                   |                   |                                                     |
| HELP              | (MC)              | Gives help on running LOGTOOL.                      |
|                   |                   |                                                     |
| LAYOUT            | (SLF)             | Reads in a layout file.                             |
|                   |                   |                                                     |

| LIST              | (SLF)             | Lists contents of a system log file.                |
|                   |                   |                                                     |
| MEMCLR            | (MLF)             | Clears the memory logging process log files.        |
|                   |                   |                                                     |
| MEMRPT            | (MLF)             | Displays the contents of the memory log file.       |
|                   |                   |                                                     |
| MEMTIMER          | (MLF)             | Alters the timer value of the memory error logging  |
|                   |                   | process.                                            |
|                   |                   |                                                     |
| PURGESYSLOG       | (SLF)             | Deletes the specified system log files from the     |
|                   |                   | disc.                                               |
|                   |                   |                                                     |
| PURGEWORK         | (SLF)             | Deletes the specified work files from the disc.     |
|                   |                   |                                                     |
| REDO              | (MC)              | Edits any of the last four lines of text entered.   |
|                   |                   |                                                     |
| SELECT            | (SLF)             | Selects specified records from the system log       |
|                   |                   | files.                                              |
|                   |                   |                                                     |
| STATUS            | (SLF)             | Reports on the status of all system log files.      |
|                   |                   |                                                     |
| SUSPEND           | (MC)              | Suspends LOGTOOL and returns control to the DUI.    |
|                   |                   |                                                     |
| SWITCHLOG         | (SLF)             | Causes the system to start a new system log file.   |
|                   |                   |                                                     |
| TYPES             | (SLF)             | Describes the system log file "types".              |
|                   |                   |                                                     |
-----------------------------------------------------------------------------------------------

Logging system events 

The following list shows the types of system log events that you can
track.  To do so, you enable a log event by turning it ON in SYSGEN.

          SYSGEN System Logging 

             System Log Events                              Event Type 
System logging enabled                                          100
System up record                                                101
Job initiation record                                           102
Job termination record                                          103
Process termination record                                      104
NM file close record                                            205
System shutdown record                                          106
Power failure record                                            107
Spooling log record                                             108
I/O error record                                                111
Physical mount or dismount                                      112
Logical mount or dismount                                       113
Tape labels record                                              114
Console log record                                              115
Program file event                                              116
New commercial spooling                                         120
Architected interface                                           130
Password changes                                                134
System logging configuration                                    135
Restore logging                                                 136
Printer access failure                                          137
ACD changes                                                     138
Stream initiation logging                                       139
User logging                                                    140
Process creation                                                141

Chgroup record                                                  143
File open record                                                244
Maintenance request log                                         146
UPS Monitor event logging                                       148
Diagnostic information record                                   150
High-priority machine check                                     152
Low-priority machine check                                      152
Directory open/close logging                                    155
CM file close record                                            160
Chdir                                                           161
Process Adoption                                                162
File Owner Change                                               163

All log information is kept in records.  Each record begins with a
standard header and ends with identification information which varies for
each log type.  For detailed information about the format of the log
records, read Manager's Guide to MPE/iX Security (32650-90474).



MPE/iX 5.0 Documentation