.\" Copyright (c) 1983, 1991 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)kgmon.8 6.5 (Berkeley) %G%
.Nd 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 options are as follows:
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.
Extract values associated with the name list from the specified core
instead of the default ``/dev/kmem''.
Extract the name list from the specified system instead of the
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.
.Bl -tag -width /dev/kmemx -compact
Users with only read permission on
file with the warning that the data may be
inconsistent if profiling is in progress.