runtime control of printk times

Posted 2011.04.22 16:18

source URL: http://elinux.org/Printk_Times


You can enable and disable printk timestamps at runtime, by writing to /sys/module/printk/parameters/time.

# cat /sys/module/printk/parameters/time
N
# echo 1 >/sys/module/printk/parameters/time
# cat /sys/module/printk/parameters/time
Y
# echo "sample log message" >/dev/kmsg
# dmesg | tail
....
[3814526.197336] sample log message
신고
« PREV : 1 : ... 49 : 50 : 51 : 52 : 53 : 54 : 55 : 56 : 57 : ... 535 : NEXT »

티스토리 툴바