Wednesday, April 18, 2018

Getting Kernel messages in Android

There are 2 ways to get kernel messages in Android:

1)using dmesg :

which is non blocking call and will dump current kernel log buffer on screen.

2) using : cat /proc/kmsg 

This is a blocking call and it continuously dumps kernel messages on screen as in when they are dumped by different processes .

No comments:

Post a Comment