最終更新:2019-05-12 (日) 04:47:13 (1959d)
dmesg
Top / dmesg
display message
dmesg - print or control the kernel ring buffer
起動時のメッセージを見れる+診断メッセージ
Ubuntu/パッケージ
バッファのサイズ
メモ
メッセージ | ファイル | 関数 | メモ |
Initializing cgroup subsys cpuset | |||
Initializing cgroup subsys cpu | |||
Initializing cgroup subsys cpuacct | |||
Linux version | |||
Command line: | |||
Hypervisor detected: | arch/x86/kernel/cpu/hypervisor.c? | detect_hypervisor_vendor? | |
Kernel command line:? | init/main.c | start_kernel | |
input: %s as %s | drivers/input/input.c | input_register_device | boot_command_line |
hidraw: raw HID events driver (C) Jiri Kosina | drivers/hid/hidraw.c | hidraw_init | Linux 3.9~ |
usbcore: registered new interface driver | drivers/usb/core/driver.c | usb_register_driver | usbfs,hub?, |
usbcore: registered new device driver | drivers/usb/core/driver.c | usb_register_device_driver | usb? |
usbhid: USB HID core driver? |
メモ
- dmesg -n 1
usage
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 Supported log facilities: kern - kernel messages user - random user-level messages mail - mail system daemon - system daemons auth - security/authorization messages syslog - messages generated internally by syslogd lpr - line printer subsystem news - network news subsystem Supported log levels (priorities): emerg - system is unusable alert - action must be taken immediately crit - critical conditions err - error conditions warn - warning conditions notice - normal but significant condition info - informational debug - debug-level messages