Can you help me to find the files record the logs of working system like SysInfo's System Log?
I tried to search by
find / -name *log*
but nothing.
Last edited by kundancool; 09-23-2011 at 05:04 AM.
Motorola A1200 : Beast
Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED
Thank Kundancool.
Im trying to search whats record into log file while phone connects to pc.
kmsg is file i need.
but i try
cat /proc/kmsg > /mmc/mmca1/test
result : new test file is an empty file![]()
or
cat /proc/kmsg | grep plug
result : ekonsole shows some lines but it cannot finish. cat command continues to show more lines on ekonsole's screen and not finish yet.
cannot cp kmsg to new location.
well it continues to update every time
may be that is the reason why it will not get copied to location
can you tell me what are you intending to do with the message?
Motorola A1200 : Beast
Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED
I need log's info when received sms, too.
I'm trying to written an application to notice sms unread after several minutes.
But i try
check=`cat /proc/ksmg | grep XXX` #XXX is somethings i need to find in log file, OR check=`cat /proc/kmsg |grep XXX | tail`
while [ -n "$check" ] ;do
smg=`showQ -t20 -m "Found !!" -1 "Break" -2 "Continues"`
if [ "$smg" = "0" ]; then break; else :;fi
done
but WHILE doesn't not work because $check doesn't work, too.
Motorola A1200 : Beast
Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED
I understand, but Im not learned C++ to do that![]()