profiler
PURPOSE
Profiles the operating system.
SYNOPSIS
prfid [ kernel ]
prfstat [ on off ]
prfdc file [ minutes ] [ hour ]
prfsnap file
prfpr file [ cutoff ] [ kernel ]
DESCRIPTION
With the prfld, prfstat, prfdc, prfsnap, and prfpr com-
mands, you can examine the activity of the AIX operating
system.
prfld
Use prfld to initialize the recording mechanism in the
system. It produces a table containing the starting
address of each system subroutine as extracted from
kernel-image.
prfstat
Use prfstat to enable or disable the sampling mechanism.
prfstat also reveals the number of text addresses being
measured.
prfdc, prfsnap
Use prfdc and prfsnap to collect profiler data by copying
the current value of all the text address counters to a
file where the data can be analyzed. prfdc stores the
counters into file every specified minutes and turns off
at hour (0-24). prfsnap collects data at the time of
invocation only, adding the counter values to file.
prfpr
Use prfpr to format the data collected by prfdc or
prfsnap. It converts each text address to the nearest
text symbol (as found in kernel-image) and displays it if
the percent activity for that range is greater than
cutoff.
FILES
/dev/prf Interface to profile data and text addresses.
/unix System kernel image file.
RELATED INFORMATION
The prf file in AIX Operating System Technical Reference.