momo zone

调核人的blog

/var/log/message 缓冲?

发现/var/log/message 对kernel message 好像有缓冲:

Jun  6 17:02:58 Dekernel kernel: [  850.427554] debug I/O:track name:T01
Jun  6 17:02:58 Dekernel kernel: [  850.427556] debug I/O:track name:T02
Jun  6 17:02:58 Dekernel kernel: [  850.427557] debug I/O:track name:T03
Jun  6 17:02:58 Dekernel kernel: [  850.427558] debug I/O:track name:T04
Jun  6 17:02:58 Dekernel kernel: [  850.427559] debug I/O:track name:T05
Jun  6 17:02:58 Dekernel kernel: [  850.427560] debug I/O:track name:T06
Jun  6 17:02:58 Dekernel kernel: [  850.427561] debug I/O:track name:T07
Jun  6 17:02:58 Dekernel kernel: [  850.427563] debug I/O:track name:T08
Jun  6 17:02:58 Dekernel kernel: [  850.427564] debug I/O:track name:T09
Jun  6 17:02:58 Dekernel kernel: [  850.427565] debug I/O:track name:T10
Jun  6 17:02:58 Dekernel kernel: [  850.427566] debug I/O:track name:T11
Jun  6 17:02:58 Dekernel kernel: [  850.427567] debug I/O:track name:T12
Jun  6 17:02:58 Dekernel kernel: [  850.427568] debug I/O:track name:T13
Jun  6 17:02:58 Dekernel kernel: [  850.427569] debug I/O:track name:T14
Jun  6 17:02:58 Dekernel kernel: [  850.427570] debug I/O:track name:<untitled>

其实这里应该再输出一行   debug I/O:track name:<untitled>

不过只要再执行一次程序触发debug 信息,就会把上次遗漏的一行输出出来。目前还不清楚怎么回事。

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: