NetBase for MPE Reference Guide
Chapter 9
9-2
Collecting Statistics
Starting, stopping, and inquiring about the statistics process is accomplished using NBCTRL. With
statistics enabled, NetBase’s shell procedures accumulate I/O intrinsic counts and timings in an
extra data segment assigned to each user process. These timings are posted to disk as the files are
closed or the process terminates. The actual posting to the statistics log file is performed by
NetBase's statistics logging process (NBSTATLG) running under NBCOP.
Statistic log files are created by NBSTATLG as they are required. The file names assigned to the log
files are in the format NBLGnnnn.DATA.NETBASE. The data format of these files is detailed at the
end of this chapter. NBSTATLG continues posting to each log file until the file fills up or a STATS
SWITCH command is issued. When either of these conditions occur, NBSTATLG closes the current
file and builds and opens the next. The log file limit is specified during configuration.
Three types of statistics records are created: IMAGE files, MPE files and Process records. A subset
of these records are required by each report program. To enable collection of these records the
STATS START command is issued from within NBCTRL. Specifying the ALL, LOCAL, REMOTE, IMAGE
or FILES parameter causes the respective records to be collected.
:RUN NBCTRL.PUB.NETBASE
NetBase Control Program [v.u.f] Update n (C) QUEST Software 1987
*> STATS START=ALL
*>
The STATS SHOW command displays the status of the STATISTICS process, the current log file and
the selected statistic parameters.
*> STATS SHOW
LOGGING STATUS: ACTIVE
CURRENT FILE: NBLG0004
RECORDS LOGGED: 1534
PERCENT FULL: 47%
LOGGING OPTIONS:
IMAGE LOCAL/REMOTE
FILES LOCAL/REMOTE
PROCESS LOCAL