HP 3000 Manuals

Log Files [ Controlling System Activity ] MPE/iX 5.0 Documentation


Controlling System Activity

Log Files 

Log files record most of the activity that takes place on the system.
Since a running log file uses a considerable amount of system resources,
you may wish to log only specific portions of all the possible logging
events.  Refer to System Startup, Configuration, and Shutdown Reference 
Manual (32650-90042) for additional information on managing logging
functions.  Three commands are available to control and display the
status of the log file:  SHOWLOG, SWITCHLOG, and RESUMELOG. These
commands may be executed only from the system console or from any
terminal by users with system supervisor (OP) capability.

Display Log File Status with SHOWLOG 

This command displays the file number of the current log file and the
amount (percentage) of the log file which has been used.

For example enter:

     SHOWLOG 

     SYSTEM LOG FILE #3067 IS 20% FULL.

If the logging system is disabled, MPE XL outputs the message:

     NO LOGGING

If logging is enabled but currently suspended as a result of an error,
both messages are displayed:

     SYSTEM LOG FILE #3067 IS 20% FULL.
     NO LOGGING

If the message LDEV NOT READY is displayed, it means logging has been
suspended due to an error.  If the error is one that disables the system,
such as a hardware malfunction, logging resumes only after a system START
RECOVERY is executed.  If the error does not disable the system, logging
resumes after the command RESUMELOG is entered (refer to the "Restart
Logging with RESUMELOG" section).

Switch Log Files with SWITCHLOG 

This command is used to switch from one log file to another.  Executing
the command closes the current log file and opens a new one.  To switch
logging to a new log file, enter:

     SWITCHLOG 

The system displays the following information:
______________________________________________________________
|                                                            |
|                                                            |
|      SYSTEM LOG FILE #xxxx IS yy% FULL                     |
|      LOG FILE NUMBER zzzz ON                               |
|                                                            |
______________________________________________________________

Where:
xxxx         is the previous log file number.

yy           is the percentage of file space used.

zzzz         is the current log file now opened (increment of 1 over
             last log file number).

If logging is disabled at the time you enter SWITCHLOG, no action occurs.
The cause could be an offline printer or tape drive.

Restart Logging with RESUMELOG 

This command resumes logging after the log file has been suspended
(usually caused by an error).  For example, assume the system is online
and running, and logging is enabled.  A recoverable error will send the
following error message to the system console:

ST/10:43/LOG FILE NUMBER 104 ERROR #46. LOGGING SUSPENDED

After the error is corrected, enter:

     RESUMELOG 

The system displays the following messages on the system console:
______________________________________________________________________
|                                                                    |
|                                                                    |
|      ST/10:45/LOG FILE NUMBER 104.  LOGGING RESUMED.               |
|      ST/10:45/LOG FILE NUMBER 104 ON.                              |
|                                                                    |
______________________________________________________________________

When logging resumes, a special log record is displayed that lists the
number of log events (and corresponding records) missed, termination
records missed, total job initiation records missed, and total
termination records missed.



MPE/iX 5.0 Documentation