From 7ad9e5a6acd024862f9b51c805d9f69069a02746 Mon Sep 17 00:00:00 2001 From: tmm Date: Thu, 5 Jul 2001 12:32:57 +0000 Subject: Update the dmesg man page to reflect the recent changes to dmesg. Reviewed by: ru --- sbin/dmesg/dmesg.8 | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'sbin/dmesg') 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 -- cgit v1.1