summaryrefslogtreecommitdiff
path: root/usr.sbin/kgmon
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2016-09-25 23:31:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2016-09-25 23:31:51 +0000
commita3f4c0a9b56ae53e65ed101d61465f639d4d47a0 (patch)
treec3863d0e56de8b14e474dbcdeb34c8e5a8c1f222 /usr.sbin/kgmon
parentaf7a92547c6b5d4565c9f838e01b8bc0fa33cb85 (diff)
Document the dependency on sysctl kern.allowkmem
ok tb
Diffstat (limited to 'usr.sbin/kgmon')
-rw-r--r--usr.sbin/kgmon/kgmon.811
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.sbin/kgmon/kgmon.8 b/usr.sbin/kgmon/kgmon.8
index f3229800a46..48dfe588229 100644
--- a/usr.sbin/kgmon/kgmon.8
+++ b/usr.sbin/kgmon/kgmon.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kgmon.8,v 1.13 2013/03/12 09:37:16 mpi Exp $
+.\" $OpenBSD: kgmon.8,v 1.14 2016/09/25 23:31:50 deraadt Exp $
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -28,7 +28,7 @@
.\"
.\" from: @(#)kgmon.8 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: March 12 2013 $
+.Dd $Mdocdate: September 25 2016 $
.Dt KGMON 8
.Os
.Sh NAME
@@ -105,6 +105,13 @@ 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.
+.Pp
+.Nm
+requires the ability to open
+.Pa /dev/kmem
+which may be restricted based upon the value of the
+.Ar kern.allowkmem
+.Xr sysctl 8 .
.Sh FILES
.Bl -tag -width /dev/kmemx -compact
.It Pa /bsd