recentpopularlog in

kme : sysctl   3

How To Disable IPv6 In CentOS 7 | Unixmen
<code class="language-bash">
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
</code>
centos  sysctl  ipv6  networking  sysadmin  linux  troubleshooting  solution 
december 2017 by kme
linux - Description of kernel.printk values - Unix & Linux Stack Exchange
The four values in printk denote: console_loglevel, default_message_loglevel, minimum_console_loglevel and default_console_loglevel respectively.

These values influence printk() behavior when printing or logging error messages. See man 2 syslog for more info on the different loglevels.

console_loglevel: messages with a higher priority than this will be printed to the console
default_message_loglevel: messages without an explicit priority will be printed with this priority
minimum_console_loglevel: minimum (highest) value to which console_loglevel can be set
default_console_loglevel: default value for console_loglevel


A sensible default for CentOS 6 (to prevent basically harmless but annoying messages from flooding the console if you set '--noclear' option for the init's mingettys) is:

# /etc/sysctl.conf
kernel.printk = 3 4 1 3
sysctl  centos  boot  console  logging  configfile  solution 
may 2015 by kme
linux - How to stop kernel messages from flooding my console? - Super User
suggest you alter your /etc/sysctl.conf. Specifcally, you want to tweak the kernel.printk line.

# Uncomment the following to stop low-level messages on console
kernel.printk = 3 4 1 3
I am not sure what the centos default settings are, but I seems likely that have things set more verbose then you need.


See also: http://unix.stackexchange.com/a/13023 (description of printk values)
centos  bootlogging  console  debugging  sysctl  solution 
may 2015 by kme

Copy this bookmark:





to read