📄 kgmon.8
字号:
.\" SCCSID: @(#)kgmon.8 8.2 12/4/90.TH kgmon 8 "" "" Unsupported.SH Namekgmon \- generate a dump of the operating system's profile buffers.SH Syntax.B /etc/kgmon[.I options] [ .I system ] [ .I memory ].SH Description.NXR "kgmon command".NXR "profile buffer" "dumping".NXR "gprof command" "kgmon command"The.PN kgmoncommand is used when profiling the operating system.When no arguments are supplied,.PN kgmon indicates the state of operating system profiling as running,off, or not configured.For further information, see .MS config 8 .If the.PN \-poption is specified,.PN kgmonextracts profile data from the operating system and produces a.PN kgdump.out file suitable for later analysis by .PN gprof ..PPThe .PN kgdump.out file is first converted to a format suitable for .PN gprof by using the .PN kgconvfilter. The.PN kgmoncommand dumps the kernel profiling data for all the processors in the system. The .PN kgconvcommand is used to create a .PN kgmon.out file suitable for analysis by .PN gproffor any or all the processors in the system..SH Options.IP \-b 5Resumes the collection of profile data..IP \-hStops the collection of profile data..IP \-pDumps the contents of the profile buffers into a.PN kgdump.out file..IP \-rResets all the profile buffers. If the.PN \-poption is also specified, the.PN kgdump.out file is generated before the buffers are reset..PPIf neither .PN \-bnor.PN \-his specified, the state of profiling collection remains unchanged.For example, if the.PN \-poption 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..SH DiagnosticsUsers with only read permission on .PN /dev/kmem cannot change the stateof profiling collection. They can get a .PN kgdump.outfile with the warning that the data may beinconsistent if profiling is in progress..SH Files.TP 15.PN /vmunixDefault system.TP .PN /dev/kmemDefault memory.SH See Alsogprof(1), config(8), kgconv(8)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -