proc.5: Rewrite /proc/sys/kernel/printk description

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-06-03 09:24:11 +02:00
parent 7f8d4d3171
commit a3fc6130b5
1 changed files with 19 additions and 16 deletions

View File

@ -3245,30 +3245,33 @@ powersaving,
otherwise the "doze" mode will be used.
.TP
.I /proc/sys/kernel/printk
The four values in this file are
.IR console_loglevel ,
.IR default_message_loglevel ,
.IR minimum_console_loglevel ,
and
.IR default_console_loglevel .
These values influence
This writable file contains four integer values that influence kernel
.I printk()
behavior when printing or logging error messages.
See
.BR syslog (2)
for more info on the different loglevels.
Messages with a higher priority than
The four values are:
.RS
.TP
.I console_loglevel
will be printed to the console.
Messages without an explicit priority will be printed with priority
.IR default_message_loglevel .
Messages with a priority higher than this value will printed to the console.
.TP
.I default_message_loglevel
This value will be used as the priority for
.IR printk()
messages that do not have an explicit priority.
.TP
.I minimum_console_loglevel
is the minimum (highest) value to which
The value in this field is the minimum (highest) value to which
.I console_loglevel
can be set.
.TP
.I default_console_loglevel
is the default value for
This is the default value for
.IR console_loglevel .
.RE
.IP
See
.BR syslog (2)
for more information on the different loglevels.
.TP
.IR /proc/sys/kernel/pty " (since Linux 2.6.4)"
This directory contains two files relating to the number of UNIX 98