转载,忘了是从哪里转的了,不好意思
抓哪个进程干坏事前要先停掉syslog
1. /etc/init.d/syslog stop
2. echo
1 > /proc/sys/vm/block_dump
3. dmesg | egrep "READ|WRITE|dirtied" |
egrep -o '([a-zA-Z]*)' | sort | uniq -c | sort -rn | head
1423
kjournald
1075 pdflush
209 indexer
3 cronolog
1 rnald
1
mysqld
不要忘记在抓完之后关掉block_dump和启动syslog
4. echo 0 >
/proc/sys/vm/block_dump
5. /etc/init.d/syslog start
阅读(669) | 评论(0) | 转发(0) |