4.3BSD-Reno/share/man/cat8/kgmon.0

Compare this file to the similar file:
Show the results in this format:




KGMON(8)		      1990			 KGMON(8)



NNAAMMEE
     kgmon - generate a dump of the operating system's profile
     buffers

SSYYNNOOPPSSIISS
     kkggmmoonn [ --bb ] [ --hh ] [ --rr ] [ --pp ] [ system ] [ memory ]

DDEESSCCRRIIPPTTIIOONN
     _K_g_m_o_n is a tool used when profiling the operating system.
     When no arguments are supplied, _k_g_m_o_n indicates the state of
     operating system profiling as running, off, or not config-
     ured.  (see _c_o_n_f_i_g(8)) If the --pp flag is specified, _k_g_m_o_n
     extracts profile data from the operating system and produces
     a _g_m_o_n._o_u_t file suitable for later analysis by _g_p_r_o_f(1).

     The following options may be specified:

     --bb   Resume the collection of profile data.

     --hh   Stop the collection of profile data.

     --pp   Dump the contents of the profile buffers into a
	  _g_m_o_n._o_u_t file.

     --rr   Reset all the profile buffers. If the --pp flag is also
	  specified, the _g_m_o_n._o_u_t file is generated before the
	  buffers are reset.

     If neither --bb nor --hh is specified, the state of profiling
     collection remains unchanged.  For example, if the --pp 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.

FFIILLEESS
     /vmunix - the default system
     /dev/kmem - the default memory

SSEEEE AALLSSOO
     gprof(1), config(8)

DDIIAAGGNNOOSSTTIICCSS
     Users with only read permission on /dev/kmem cannot change
     the state of profiling collection. They can get a _g_m_o_n._o_u_t
     file with the warning that the data may be inconsistent if
     profiling is in progress.








Printed 7/27/90               June				1