Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
System administration command. Control which kernel messages are displayed on the console, prioritize all messages, and log them through syslogd. On many operating systems, syslogd performs all the work of klogd, but on Linux the features are separated. Kernel messages are gleaned from the /proc filesystem and from system calls to syslogd. By default, no messages appear on the console. Messages are sorted into eight levels, 0-7, and the level number is prepended to each message.
Emergency situation (KERN_EMERG).
A crucial error has occurred (KERN_ALERT).
A serious error has occurred (KERN_CRIT).
An error has occurred (KERN_ERR).
A warning message (KERN_WARNING).
The situation is normal but should be checked (KERN_NOTICE).
Information only (KERN_INFO).
Debugging message (KERN_DEBUG).
Print all messages of a higher priority (lower number) than level to the console.
Print all messages to file; suppress normal logging.
Signal executing daemon to reload kernel module symbols.
Use file as source of kernel symbols.
Avoid auto-backgrounding. This is needed when klogd is started from init.
One-shot mode. Prioritize and log all current messages, then immediately exit.
Reload kernel-module symbol information whenever an Oops string is detected.
Suppress reading of messages from the /proc filesystem. Read from kernel message buffers instead.
Print version, then exit.
Don't translate instruction pointers (EIP). klogd will not read the System.map file.
Signal executing daemon to reload both static kernel symbols and kernel module symbols.
Print two lines for each symbol, one showing the symbol and the other showing its numerical value (address).
Sources for definitions of each logging level.
A file examined by klogd for messages.
klogd's process ID.