diff options
author | Thomas Moestl <tmm@FreeBSD.org> | 2001-07-05 12:32:57 +0000 |
---|---|---|
committer | Thomas Moestl <tmm@FreeBSD.org> | 2001-07-05 12:32:57 +0000 |
commit | d907e410f3c9738bfd2feea7831a59fa690741ec (patch) | |
tree | 21e11c2a155d8111a6fdac9f8e0729fcabc62a05 /sbin/dmesg/dmesg.8 | |
parent | beefc79739496c05ca59feb34bedcb00008cf2c2 (diff) | |
download | src-test-d907e410f3c9738bfd2feea7831a59fa690741ec.tar.gz src-test-d907e410f3c9738bfd2feea7831a59fa690741ec.zip |
Notes
Diffstat (limited to 'sbin/dmesg/dmesg.8')
-rw-r--r-- | sbin/dmesg/dmesg.8 | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/sbin/dmesg/dmesg.8 b/sbin/dmesg/dmesg.8 index 196b4dc0be5a0..8b60adbe21470 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 |