1. 内核查看命令
dmesg
Usage: dmesg [-c] [-n LEVEL] [-s SIZE]
Print or control the kernel ring buffer
-c Clear ring buffer after printing
-n LEVEL Set console logging level
-s SIZE Buffer size
2. 应用层查看log命令
logread
Usage: logread [options]
Options:
-s
Path to ubus socket
-l Got only the last 'count' messages
-r Stream message to a server
-F Log file
-S Log size
-p PID file
-f Follow log messages
-u Use UDP as the protocol
阅读(2790) | 评论(0) | 转发(0) |