PDA

View Full Version : How to view message from N9 kernel?


justforfun
2011-10-02, 04:28
I tried dmesg but ...
RM696-34-1_PR_005:~# dmesg
dmesg: klogctl: Operation not permitted

How can I see the message from kernel of N9? Thanks!

lma
2011-10-02, 04:43
Use syslog.

justforfun
2011-10-03, 04:20
Thanks, lma. But I don't know how to use syslog. Any suggestion?

I searched via Google and found the solution on how to enable dmesg on N9. Just like below, it solves my problem. It is a little bit exciting!
echo 0 > /proc/sys/kernel/dmesg_restrict

ajalkane
2011-10-03, 04:47
Thanks, lma. But I don't know how to use syslog. Any suggestion?

less /var/log/syslog

It's just a log file.