From a3fc6130b5cfdb04c4e355db9e14f86c5a1e2335 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 3 Jun 2014 09:24:11 +0200 Subject: [PATCH] proc.5: Rewrite /proc/sys/kernel/printk description Signed-off-by: Michael Kerrisk --- man5/proc.5 | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/man5/proc.5 b/man5/proc.5 index e347d8245..87936b4a6 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -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