.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)kgmon.8 6.1 (Berkeley) %G%
kgmon \- generate a dump of the operating system's profile buffers
is a tool used when profiling the operating system.
When no arguments are supplied,
indicates the state of operating system profiling as running,
extracts profile data from the operating system and produces a
file suitable for later analysis by
The following options may be specified:
Resume the collection of profile data.
Stop the collection of profile data.
Dump the contents of the profile buffers into a
Reset all the profile buffers.
flag is also specified, the
file is generated before the buffers are reset.
is specified, the state of profiling collection remains unchanged.
flag 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 immediately resumed.
/vmunix \- the default system
/dev/kmem \- the default memory
Users with only read permission on /dev/kmem cannot change the state
file with the warning that the data may be
inconsistent if profiling is in progress.