在Solaris机器上获取I / O TPS for NFS

我试图为我的Solaris服务器获得IOPS。 通常我使用tps来计算,但是:

iostat给TPS,但只为本地磁盘。 iostat -x只提供所有磁盘的TPS。 sar -d为所有磁盘提供一个lof …(但不包括TPS)。

有没有办法在Solaris上获得NFS装载的TPS / IOPS?

至lesssolaris 10和11.1。

我相信iostat -xn给你r / s和w / s结合起来就是nfs资源的IOPS:

user@server:~$ iostat -xn 2 2 extended device statistics r/sw/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device 58.1 0.0 7196.9 0.0 0.0 0.1 0.4 2.2 0 5 somenfsserver:/share 0.0 57.4 0.0 7340.6 6.7 0.6 116.0 10.8 4 10 anothernfsserver:/share1 extended device statistics r/sw/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device 747.3 0.0 95660.1 0.0 0.1 3.1 0.1 4.2 4 86 somenfsserver:/share 0.0 748.3 0.0 95787.5 158.5 10.0 211.8 13.3 100 100 sanothernfsserver:/share1 

r / s + w / s = IOPS,在这种情况下,我正在读取份额并写入share1。