| United States-English |
|
|
|
![]() |
System Startup, Configuration, and Shutdown Reference Manual: HP e3000 MPE/iX Computer Systems > Chapter 6 Modifying Logging ConfigurationsEntering the LOG Configurator |
|
To access the LOG configurator, enter the LOG command (abbreviated LO) at the SYSGEN prompt as shown in the Example 6-1: Example 6-1 Activating the LOG Configurator
The help facility enables you to quickly identify the function and syntax of those LOG configurator commands and options for performing the multiple operations that define or change logging processes. To obtain a list of the commands available for use in the LOG configurator, enter HELP at the LOG configurator prompt as shown in Example 6-2. Example 6-2 LOG Configurator Help
To display the syntax for each available command, enter HELP ALL as shown in Example 6-3. Example 6-3 LOG Configurator HELP ALL
Entering HELP commandname provides help for a specific command:
The SHOW command displays the LOG values as currently set. SHOW has the following parameters:
SLOG lists the state of the system logging events. ULOG lists the number of user logging processes and users per logging process currently configured. ALL lists all the information associated with the LOG configurator. OFFLINE redirects the output of the SHOW command to the SYSGEN listing file, SYSGLIST. Using OFFLINE does not immediately generate a printout. The information is sent to SYSGLIST until you either enter the OCLOSE command or exit the configurator. Exiting the configurator or using OCLOSE closes SYSGLIST and prints the file. Using SHOW without using any parameters, is the same as specifying SHOW ALL. In addition, the value entered for the ULOG parameter includes the minimum, maximum, current, and default values. To show the current user logging process in Example 6-4, enter SHOW ULOG: Example 6-4 Showing User Logging Processes
To view all currently configured values, as shown in Example 6-5, enter SHOW ALL: Example 6-5 Showing All Configured Values
System logging records the use of certain resources by accounts, groups, and users. System logging can be used for several purposes, such as billing or obtaining an overview of system use. System logging describes system use by creating a running log of actual events, correlating the event with a job and session. The system manager chooses which events to enable or disable by setting an event number to ON or OFF. (Refer to the preceding example for a list of event numbers and their definitions.) The SLOG command enables and disables the selected system logging events. SLOG has the following parameters:
Enable the logging of an event by entering SLOG event#,...:
or
Disable the logging of an event by entering SLOG OFF=event#,...:
Entering SLOG without ON enables logging. Entering SLOG without an event number causes an error:
Logging event 100 is a special case. If 100 is off, no logging (except that forced on by MPE/iX) takes place.
User logging provides a means for system users and subsystems to record additions and modifications to databases and other files using application programs. The system manager determines the maximum number of logging processes and the maximum number of users per logging process. The ULOG command configures the user logging process parameters. ULOG has the following parameters:
NLOGPROCS controls the user logging ID (LID) table size. Lowering NLOGPROCS loses all current logging ID information from the tape created by SYSGEN. If NLOGPROCS remains unchanged or increases, the current logging ID information is copied to tape. The minimum and maximum number of processes allowed are 2 and 128, respectively. USERSPERPROC specifies the maximum number of users assigned to each configured logging process. The minimum and maximum number of users per logging process are 1 and 1140, respectively.
To set the number of processes or users per process, enter ULOG followed by the number of processes or users:
or
If you desire to clear all LOG configuration changes made, enter the CLEAR command at the LOG configurator prompt.
Once a SYSGEN> KEEP is done, the changes kept become permanent and CLEAR does not remove them. Using the system logging and user logging commands described in the following sections changes the LOG configuration specified in the SYSGEN command line or global BASEGROUP command. These changes are temporary and are easily lost if not properly saved. Saving configuration changes is a two-step procedure. After you alter a configuration, you must, first, hold the changes before exiting the configurator. Second, use the global module KEEP command to save the changes. To hold changes, enter the HOLD command at the LOG configurator prompt:
You can work in a SYSGEN configurator, hold the changes, and continue working in other SYSGEN configurators before saving the changes. To save the changes, hold all desired changes, exit to SYSGEN's global module, and issue the KEEP command:
Refer to Chapter 4 “Using the System Generator (SYSGEN)” for additional information on using the KEEP command. Use the colon (:) to introduce an MPE command from the LOG configurator. To issue an MPE command, enter the command along with the colon. For example,
Use the EXIT command to terminate the LOG configurator and return to the SYSGEN global module. Exit may be abbreviated EX or E. To end working in the LOG configurator, enter EXIT at the LOG configurator prompt:
To analyze your logs and to read what you are logging, you must print your log files. To do this, use the LOGTOOL utility program. Enter RUN LOGTOOL. In order to print a log, issue the following:
Enter HELP after the LOGTOOL prompt for more information. The STATUS command reports on the status of all system log files. The following example shows the use of the STATUS command in the sequence of printing a log.
If you do not specify the OUTFILE parameter, the log prints on your terminal screen. Typically this report is very long and ties up your terminal for quite some time. If this does happen, you can enter CTRL Y to break the process. If you like, you can filter the output of LOGTOOL utility to show you information about only a specific user or users. The syntax for this is shown below.
The input for these commands should be no longer than 80 characters. Default for all parameters is the wildcard @. For example, to select log records from log files 1 through 5, with log information about password changes (log type 134), and user identification JTEST,MARIA.PAYROLL, you would enter the following.
This selection option is valid for the log types listed below:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||