PEEK Reference Manual

Getting Started With PEEK
PEEK Reference Manual — 529657-006
1 - 6
Specifying a Processor With the CPU Option
Specifying a Processor With the CPU Option
Unless you specify a processor, PEEK normally reports on the processor in your
system that is running the TACL command interpreter or on a processor chosen by
$CMON. However, you can select a different processor by using the CPU option of the
RUN command. For example:
> PEEK / CPU 2 /
This command returns the TIME, POOL, and PAGING statistics for processor 2 on
your current system.
Directing PEEK Reports With the OUT Option
Use the OUT filename option of the RUN command to direct the output of a PEEK
report to any device, such as a line printer, or to a disk file, including an EDIT file. For
example:
> PEEK / OUT $DISK.MYFILES.PEEK1 /
This command directs the PEEK report to a file named PEEK1 on a subvolume named
MYFILES on the volume $DISK on the current system.
Determining When to Use the NOWAIT Option
The NOWAIT option is useful when you combine it with the OUT filename option to
produce a series of reports. For example:
> PEEK / OUT $DISK.MYFILES.PEEK1, NOWAIT / DYNAMIC, 96, 900
This command directs the PEEK report to the file PEEK1 and produces reports every
15 minutes over a 24-hour period. While the reports are being generated, you retain
access to the TACL command interpreter.
Combining RUN Options
You can combine RUN options on a single command line to perform multiple
operations more quickly. This example runs a PEEK report on processor 2, directs the
output to the EDIT file PEEK1, and returns immediately to the TACL prompt:
> PEEK / CPU 2, OUT $DISK.MYFILES.PEEK1, NOWAIT /
For detailed instructions on using the RUN command and its options, see the TACL
Reference Manual.
Examples
1. If you do not enter an option, information for the TIME, POOL, and PAGING
options is displayed by default. For example:
> PEEK