On Tue, Sep 30, 2014 at 02:39:28AM +0000, Ma, Jianpeng wrote: > Hi all, > I want to count the total read inode from disk. XFS already does that for you: $ pminfo -tf xfs.inode_ops.ig_missed xfs.inode_ops.ig_missed [number of failed in memory inode lookup operations] value 1835354 $ And that's the number read from disk as reported by PCP. If you don't have PCP: $ awk '/ig/ {print $5}' /proc/fs/xfs/stat 1835354 $ Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs