MPE/iX System Utilities Reference Manual (32650-90882)

148 Chapter13
LOGTOOL
Operation
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