[OpenWrt-Devel] 回复: [OpenWrt-Users] Is there anybody can find /var/log/dmesg inOpenWRT ?

Sukru Senli sukru.senli at inteno.se
Thu Dec 29 03:54:03 EST 2016


Hi,

Would one of the below help you?

cat /proc/kmsg
or 
cat /dev/kmsg

/Sukru
________________________________________
From: openwrt-devel [openwrt-devel-bounces at lists.openwrt.org] on behalf of Tymon [banglang.huang at foxmail.com]
Sent: Thursday, December 29, 2016 9:17 AM
To: openwrt-users
Cc: openwrt-devel
Subject: [OpenWrt-Devel] 回复: [OpenWrt-Users] Is there anybody can find /var/log/dmesg inOpenWRT ?

Thank you for your answer, but I only want to display the kernel message.
I expect to use 'tail -f /var/log/dmesg' to read the kernel debug message on my device that without
serial console.

------------------
Regards,

banglang huang
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org<mailto:openwrt-devel at lists.openwrt.org>
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



------------------ 原始邮件 ------------------
发件人: "camden lindsay";<camden.lindsay+openwrt at gmail.com>;
发送时间: 2016年12月29日(星期四) 下午2:57
收件人: "OpenWrt User List"<openwrt-users at lists.openwrt.org>;
抄送: "openwrt-devel"<openwrt-devel at lists.openwrt.org>;
主题: Re: [OpenWrt-Users] Is there anybody can find /var/log/dmesg inOpenWRT ?

I believe you have to use logread-

https://wiki.openwrt.org/doc/howto/log.essentials

On Wed, Dec 28, 2016 at 10:53 PM, Tymon <banglang.huang at foxmail.com> wrote:
> Hi all,
>
>        Why can't I find the /var/log/dmesg file under openwrt (the busybox
> built-in tool 'dmesg' is work fine)  ???
>
>        Any hint will be appreciated!
>
> ------------------
> Regards,
>
> banglang huang
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
>
> _______________________________________________
> openwrt-users mailing list
> openwrt-users at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
>
_______________________________________________
openwrt-users mailing list
openwrt-users at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list