| United States-English |
|
|
|
![]() |
Performing System Management Tasks: HP 3000 MPE/iX Computer Systems > Chapter 4 Defining Events to Be RecordedUsing the LOG Configurator |
|
You use the LOG configurator to display information about system and user logging, print log files, and choose which events the system will record. You make all system and user logging changes from with the LOG configurator, which is one of the SYSGEN modules. To enter the LOG configurator, do as follows:
Use the HELP command to get information about the commands available to you in the LOG configurator.
Use the LOG configurator's SHOW command to display current LOG values on the system console or to print them offline. At the LOG prompt (log>), enter:
SHOW has the following parameters: SHOW [[COMMAND =] { SLOG ULOG ALL }] [ [DEST =] OFFLINE ]
You can use the SHOW command to see only the values for system logging or user logging (instead of for both). For example, to display the current status of user logging processes, enter:
The LOG configurator displays the minimum, maximum, current, and default values for your system. (See the example below.) To display all currently configured values, you can enter:
Or, you can enter:
The LOG Configurator displays the minimum, maximum and current value for user log events and the name, number and status (OFF or ON) of system log events. Instead of displaying logging information on the console, you can print it offline. To do so, add the DEST=OFFLINE parameter to the end of the command line. For example, to print a copy of system logging data, follow these steps:
Note that you can also exit the LOG Configurator to close and print SYSGLIST. System logging keeps a running log of certain resources so that you can monitor their use by accounts, groups and users. You can use system logging for billing purposes or simply to see an overview of system use. To determine which events are logged, you use the SLOG command to turn them on or off. SLOG has the following parameters: SLOG (SL) [ [ON =] event#,... ] [ [OFF =] event#,... ]
Before you change the system logging configuration, enter the SHOW SLOG command to see which events are currently ON or OFF. Your console will display something like the example on the next page. Figure 4-3 Example 4-3. Sample Configured Values
For any of the system log event are listed as OFF when you issue the SHOW command, you can quickly enabled them. To do so, note the number of the event that you want to enable and use the ''SLOG'' command. For example, to enable stream initiation (event 139), at the log> prompt enter:
Or, you can enter:
Suppose that you have enabled event 139 (stream initiation), and a user JOHN in the group DOE of the PAYROLL account logs on with the session name JREPORT. If he streams the job file JTEST.TESTGP.TESTACCT that was logged on as #J12, the system logs the following information:
To disable an event, you enter the SLOG command with the OFF parameter, followed by the number of the event you want to disable. For example, to disable the console log record (event 115), enter:
To disable all system logging (except those events always monitored by MPE, which you cannot turn off), specify event 100. For example:
You can use the LOGTOOL utility to review entries in the system log file for a particular event. To do so, follow these steps:
User logging provides a means for system users and subsystems to record additions and modifications to databases and other files that use application programs. As system manager, you determine the maximum number of logging processes and the maximum number of users per logging process. Use the ULOG command to configure the user logging process parameters. ULOG has the following parameters:> ULOG (UL) { [NLOGPROCS =] number processes allowed [USERSPERPROC =] users per logging process}
For example, to set the number of logging processes to 40, enter:
Or you can enter:
To set the number of users per process to 40, enter:
Or, you can enter:
To read and analyze your logs, you must print your log files. To do this, you use the LOGTOOL utility program in the following set of steps:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||