Chinaunix首页 | 论坛 | 博客
  • 博客访问: 294448
  • 博文数量: 111
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 672
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-05 23:41
文章分类

全部博文(111)

文章存档

2017年(111)

我的朋友

分类: LINUX

2017-06-19 15:22:45

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
阅读(1836) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~