kgmon(8) Unsupported kgmon(8)Namekgmon - generate a dump of the operating system's profile buffers
Syntax
/etc/kgmon [ options ] [ system ] [ memory ]
Description
The command is used when profiling the operating system. When no argu‐
ments are supplied, indicates the state of operating system profiling
as running, off, or not configured. For further information, see If
the option is specified, extracts profile data from the operating sys‐
tem and produces a file suitable for later analysis by
The file is first converted to a format suitable for by using the fil‐
ter. The command dumps the kernel profiling data for all the processors
in the system. The command is used to create a file suitable for analy‐
sis by for any or all the processors in the system.
Options-b Resumes the collection of profile data.
-h Stops the collection of profile data.
-p Dumps the contents of the profile buffers into a file.
-r Resets all the profile buffers. If the option is also specified,
the file is generated before the buffers are reset.
If neither nor is specified, the state of profiling collection remains
unchanged. For example, if the option is specified and profile data is
being collected, profiling will be momentarily suspended, the operating
system profile buffers will be dumped, and profiling will be immedi‐
ately resumed.
Diagnostics
Users with only read permission on cannot change the state of profiling
collection. They can get a file with the warning that the data may be
inconsistent if profiling is in progress.
Files
Default system
Default memory
See Alsogprof(1), config(8), kgconv(8)kgmon(8)