dmesg: Document kern.msgbuf_show_timestamp

kern.msgbuf_show_timestamp=1 turns on timestamps in kernel's message
buffer which dmesg(8) prints.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-05-06 10:32:10 -06:00
parent a5ec261a7c
commit 6910fee62e

View file

@ -28,7 +28,7 @@
.\" @(#)dmesg.8 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$
.\"
.Dd October 3, 2016
.Dd May 6, 2022
.Dt DMESG 8
.Os
.Sh NAME
@ -70,6 +70,19 @@ is also specified,
extract the name list from the specified system instead of the default,
which is the kernel image the system has booted from.
.El
.Sh SYSCTL VARIABLES
The following
.Xr sysctl 8
variables can be used to control the behavior of the kernel's placing data into
the message buffer:
The default value is shown next to each variable.
.Bl -tag -width indent
.It kern.msgbuf_show_timestamp : No 0
If set to 1, then a timestamp will be added to most lines in the message buffer.
This may also be set as a boot
.Xr loader 8
tunable.
.El
.Sh FILES
.Bl -tag -width ".Pa /var/run/dmesg.boot" -compact
.It Pa /var/run/dmesg.boot