summaryrefslogtreecommitdiffstats
path: root/sbin/dmesg
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-07-05 12:32:57 +0000
committertmm <tmm@FreeBSD.org>2001-07-05 12:32:57 +0000
commit7ad9e5a6acd024862f9b51c805d9f69069a02746 (patch)
tree21e11c2a155d8111a6fdac9f8e0729fcabc62a05 /sbin/dmesg
parentd393753807b9d244a415e6164b98730452e7b4c6 (diff)
downloadFreeBSD-src-7ad9e5a6acd024862f9b51c805d9f69069a02746.zip
FreeBSD-src-7ad9e5a6acd024862f9b51c805d9f69069a02746.tar.gz
Update the dmesg man page to reflect the recent changes to dmesg.
Reviewed by: ru
Diffstat (limited to 'sbin/dmesg')
-rw-r--r--sbin/dmesg/dmesg.822
1 files changed, 14 insertions, 8 deletions
diff --git a/sbin/dmesg/dmesg.8 b/sbin/dmesg/dmesg.8
index 196b4dc..8b60adb 100644
--- a/sbin/dmesg/dmesg.8
+++ b/sbin/dmesg/dmesg.8
@@ -46,6 +46,17 @@
.Sh DESCRIPTION
.Nm Dmesg
displays the contents of the system message buffer.
+If neither the
+.Fl N
+nor the
+.Fl M
+option is specified, the buffer is read from the currently running kernel
+via the
+.Xr sysctl 3
+interface.
+Otherwise, the buffer is read from the specified core file (or from the
+default one), using the name list from the specified kernel image (or from
+the default image).
.Pp
The options are as follows:
.Bl -tag -width indent
@@ -59,17 +70,12 @@ Extract values associated with the name list from the specified core
instead of the default
.Pa /dev/kmem .
.It Fl N
-Extract the name list from the specified system instead of the default
-.Pa /kernel .
+Extract the name list from the specified system instead of the default,
+which is the kernel image the system has booted from.
.El
.Sh SEE ALSO
+.Xr sysctl 3 ,
.Xr syslogd 8
-.Sh FILES
-.Bl -tag -width /etc/kmem -compact
-.It Pa /dev/mem
-.It Pa /dev/kmem
-.It Pa /kernel
-.El
.Sh HISTORY
The
.Nm
OpenPOWER on IntegriCloud