Scrigroup - Documente si articole

     

HomeDocumenteUploadResurseAlte limbi doc
AccessAdobe photoshopAlgoritmiAutocadBaze de dateCC sharp
CalculatoareCorel drawDot netExcelFox proFrontpageHardware
HtmlInternetJavaLinuxMatlabMs dosPascal
PhpPower pointRetele calculatoareSqlTutorialsWebdesignWindows
WordXml

AspAutocadCDot netExcelFox proHtmlJava
LinuxMathcadPhotoshopPhpSqlVisual studioWindowsXml

klogd linux command

linux



+ Font mai mare | - Font mai mic



klogd

klogd [options]



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 8 levels, 0-7, and the level number is prepended to each message.

Priority levels

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 messages (KERN_DEBUG).

Options

-c level

Print all messages of a higher priority (lower number) than level to the console.

-d

Debugging mode.

-f file

Print all messages to file; suppress normal logging.

-k file

Use file as source of kernel symbols.

-n

Avoid autobackgrounding. This is needed when klogd is started from init.

-o

One-shot mode. Prioritize and log all current messages, then immediately exit.

-s

Suppress reading of messages from the /proc filesystem.

Files

/usr/include/linux/kernel.h, /usr/include/sys/syslog.h

Sources for definitions of each logging level

/proc/kmsg

A file examined by klogd for messages

/var/run/klogd.pid

klogd's process ID



Politica de confidentialitate | Termeni si conditii de utilizare



DISTRIBUIE DOCUMENTUL

Comentarii


Vizualizari: 843
Importanta: rank

Comenteaza documentul:

Te rugam sa te autentifici sau sa iti faci cont pentru a putea comenta

Creaza cont nou

Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved