|
|
Manager's Guide to MPE/iX Security: 900 Series HP 3000 Computer Systems > Chapter 7 Auditing System UseUsing the LOGTOOL Utility |
|
To invoke LOGTOOL enter:
For detailed information on any command enter HELP followed by the command. For example:
The following is a sample of commands you would use 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):
3. Invoke LOGTOOL:
4. If you wish to obtain data from your current logfile enter the following to close it and open a new one:
5. Display logfile record types (you may skip this step if you already are familiar with types) :
6. Display the logfile analysis. The following command accomplishes three things: 1 - Specifies the numbers of the logfiles you wish to examine (see results of above LISTFILE command), 2 - Specifies the logging event types you wish to examine (see results of above TYPES command) and 3 - Produces a formatted listing of information from the logfiles.
The LOG parameter restricts analysis to logfiles LOG0009 through LOG0014 and LOG0017 and LOG0020 and LOG0022. The LOG parameter may be entered as a range of numbers such as 9/14, as a string of numbers such as 17,20,22 (or a single number), or as a combination range and string (as in the example). The TYPE parameter says to select data only for event types 111 and 146 (I/O errors and maintenance requests). 7. If you do not wish to see the analysis on your terminal screen, but would rather write the records to an output file, use the ;OUTFILE parameter as follows (Otherwise, proceed to step 8):
The output file to which the analysis will be written in this example is MYFILE. You may choose any name but it must begin with an alphabetic character. Please remember that the output file will be written 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. 8. Terminate LOGTOOL:
Three categories of LOGTOOL commands are:
The following is a list and brief description of commands available in LOGTOOL. Table 7-2 LOGTOOL Commands
|
|