Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15499075
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类: LINUX

2009-07-19 08:39:33

以下思路来自syslogd源程序
luther@gliethttp:~$ sudo killall klogd  // 首先干掉系统内部的klogd否则kmsg获得的log不全,而且log量很大时,就会出现klogd占用cpu超高的现象.
luther@gliethttp:~$ sudo cat /proc/kmsg
<4>[ 3499.310669] gggggggggggggggggg======0
<4>[ 3499.342663] gggggggggggggggggg======0
<4>[ 3499.374653] gggggggggggggggggg======0
<4>[ 3499.406648] gggggggggggggggggg======0
<4>[ 3499.438654] gggggggggggggggggg======0
<4>[ 3499.470659] gggggggggggggggggg======0
<4>[ 3499.502659] gggggggggggggggggg======0
<4>[ 3499.534672] gggggggggggggggggg======0
<4>[ 3499.566666] gggggggggggggggggg======0
<4>[ 3499.598661] gggggggggggggggggg======0
<4>[ 3499.630659] gggggggggggggggggg======0
<4>[ 3499.662659] gggggggggggggggggg======0
<4>[ 3499.694677] gggggggggggggggggg======0
<4>[ 3499.726658] gggggggggggggggggg======0
<4>[ 3499.758663] gggggggggggggggggg======0
<4>[ 3499.790659] gggggggggggggggggg======0
<4>[ 3499.822660] gggggggggggggggggg======0
<4>[ 3499.854675] gggggggggggggggggg======0
<4>[ 3499.982671] gggggggggggggggggg======0
<4>[ 3500.014662] gggggggggggggggggg======0
<4>[ 3500.046660] gggggggggggggggggg======0
<4>[ 3500.078665] gggggggggggggggggg======0
<4>[ 3500.110666] gggggggggggggggggg======0
<4>[ 3500.238664] gggggggggggggggggg======0
<4>[ 3500.270644] gggggggggggggggggg======0
<4>[ 3500.302647] gggggggggggggggggg======0
<4>[ 3500.334662] gggggggggggggggggg======0
<4>[ 3500.366658] gggggggggggggggggg======0
<4>[ 3500.398653] gggggggggggggggggg======0
<4>[ 3500.558668] gggggggggggggggggg======0

阅读(11425) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~