现在的位置: 首页 > 综合 > 正文

crash命令如何查cache

2017年12月22日 ⁄ 综合 ⁄ 共 168字 ⁄ 字号 评论关闭

  crash> kmem -S dentry_cache | grep '  \[................\]' | sed -e 's/  \[\(................\).*/struct dentry.d_sb \1/' > /tmp/dentry-data.bb

crash> < /tmp/dentry-data.bb | sort | uniq -c

【上篇】
【下篇】

抱歉!评论已关闭.