kprf(ADM)
kprf --
kernel profiler
Syntax
/etc/kprf [ interrupt_frequency ]
/etc/kprpt [ CPU ]
Description
The kprf
and kprpt utilities
facilitate a study of the operating system kernel.
The
rtc(HW)
interface is used to interrupt at a high priority and record
the kernel activity.
The kprf program
interrupt_frequency can have the values:
0-
turn off profiling.
[ 256 |5124 | 2048 | 4096 | 8192 ] -
starts kernel profiling with an interrupt frequency of the Hz value
specified.
The kprpt program generates a kernel profile report
in the file kprf.out.n,
where n starts at 1 and is incremented each time
the program runs.
If CPU is specified,
kprpt produces just the profile for
processor number CPU.
The report lists the percentage of time spent in user and kernel mode,
the number of times a kprf interrupt hit each routine,
and the percentage of the KERNEL (not total) time spent
in each routine,
Files
/dev/kprf-
interface to profile report file
/unix -
kernel namelist file
See also
rtc(HW),
scodb(ADM)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003