Dmesg: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Tumbsaar (talk | contribs)
No edit summary
Tumbsaar (talk | contribs)
No edit summary
Line 7: Line 7:


=Süntaks=
=Süntaks=
<pre>
Usage:
dmesg [options]


Options:
-C, --clear                clear the kernel ring buffer
-c, --read-clear            read and clear all messages
-D, --console-off          disable printing messages to console
-d, --show-delta            show time delta between printed messages
-E, --console-on            enable printing messages to console
-f, --facility <list>      restrict output to defined facilities
-h, --help                  display this help and exit
-k, --kernel                display kernel messages
-l, --level <list>          restrict output to defined levels
-n, --console-level <level> set level of messages printed to console
-r, --raw                  print the raw message buffer
-s, --buffer-size <size>    buffer size to query the kernel ring buffer
-T, --ctime                show human readable timestamp (could be
                            inaccurate if you have used SUSPEND/RESUME)
-t, --notime                don't print messages timestamp
-u, --userspace            display userspace messages
-V, --version              output version information and exit
-x, --decode                decode facility and level to readable string
</pre>


=Kokkuvõte=
=Kokkuvõte=

Revision as of 12:56, 11 October 2014

Tõnis Umbsaar A41, 2014/2015

Sissejuhatus

dmesg on käsk, mis sisuliselt näitab ära kõik draiverid, mis kernelisse laetakse alglaadimisel või kui lisatakse seade arvuti külge. See on väga tõhus tööriist näitamaks draiveritega seotud veateateid. dmesg on enamikes Linuxi distributsioonides vaikimisi olemas.


Süntaks

Usage:
 dmesg [options]

Options:
 -C, --clear                 clear the kernel ring buffer
 -c, --read-clear            read and clear all messages
 -D, --console-off           disable printing messages to console
 -d, --show-delta            show time delta between printed messages
 -E, --console-on            enable printing messages to console
 -f, --facility <list>       restrict output to defined facilities
 -h, --help                  display this help and exit
 -k, --kernel                display kernel messages
 -l, --level <list>          restrict output to defined levels
 -n, --console-level <level> set level of messages printed to console
 -r, --raw                   print the raw message buffer
 -s, --buffer-size <size>    buffer size to query the kernel ring buffer
 -T, --ctime                 show human readable timestamp (could be 
                             inaccurate if you have used SUSPEND/RESUME)
 -t, --notime                don't print messages timestamp
 -u, --userspace             display userspace messages
 -V, --version               output version information and exit
 -x, --decode                decode facility and level to readable string

Kokkuvõte

Kasutatud kirjandus