crash命令如何查cache

  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

你可能感兴趣的:(cache,Crash)