PDA

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


justforfun
10-02-2011, 12:28 AM
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
10-02-2011, 12:43 AM
Use syslog.

justforfun
10-03-2011, 12:20 AM
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
10-03-2011, 12:47 AM
Thanks, lma. But I don't know how to use syslog. Any suggestion?

less /var/log/syslog

It's just a log file.