跳转到主内容

哪些命令可用于监控ONTAP 9中的性能?

Views:
279
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
perf
Last Updated:

适用场景

ONTAP 9

问题解答

命令 示例
statistics show-periodic [-node <node name> ]
  • 以下列很有用:
    • cpu busy 指示各个CPU域的CPU使用情况
    • data 列显示节点上所有NIC的以太网吞吐量
    • cluster 各列显示通过集群lifs传输的数据量
单击以查看示例
cluster1::*> statistics show-periodic -node node1 cpu cpu cpu total fcache pkts pkts total total data data data cluster cluster cluster disk disk avg busy total ops nfs-ops cifs-ops ops recv sent recv sent busy recv sent busy recv sent read write ---- ---- ----- -------- -------- -------- -------- -------- -------- -------- -------- ---- -------- -------- ------- -------- -------- -------- -------- 6% 6% 26% 0 0 0 0 641 39 126KB 4.68KB 0% 7.33KB 0B 0% 111KB 4.68KB 0B 0B 5% 5% 21% 0 0 0 0 254 7 16.7KB 1.75KB 0% 5.60KB 0B 0% 5.48KB 1.75KB 0B 0B 6% 6% 24% 0 0 0 0 307 41 21.2KB 5.32KB 0% 6.13KB 0B 0% 8.99KB 5.32KB 0B 0B 4% 4% 17% 0 0 0 0 364 16 23.8KB 2.58KB 0% 8.88KB 0B 0% 6.05KB 2.58KB 0B 0B 10% 10% 42% 0 0 0 0 673 7 124KB 1.92KB 0% 9.82KB 0B 0% 104KB 1.92KB 0B 0B 7% 7% 28% 0 0 0 0 407 38 28.1KB 4.38KB 0% 8.79KB 0B 0% 10.5KB 4.38KB 106KB 528KB 4% 4% 19% 0 0 0 0 328 16 21.6KB 2.58KB 0% 7.27KB 0B 0% 7.02KB 2.58KB 0B 0B 5% 5% 22% 0 0 0 0 324 31 21.9KB 4.35KB 0% 6.99KB 0B 0% 7.95KB 4.35KB 0B 0B 5% 5% 21% 0 0 0 0 242 16 16.1KB 2.60KB 0% 5.10KB 0B 0% 5.89KB 2.60KB 0B 0B 4% 4% 17% 0 0 0 0 273 16 18.0KB 2.60KB 0% 5.91KB 0B 0% 6.20KB 2.60KB 0B 0B
sysstat -x 1
  • 以下列很有用:
    • CPU 指示CPU使用情况
    • CP time 是指在sysstat输出的每行中转储或不转储从RAM到磁盘的一致点的时间(如果指定了-x 1 、则为1秒)
      • 除非对CPS进行故障排除、否则此操作不会有用
    • CP_Ty 如果存在背靠背CPS、则会很有用
单击以查看示例
cluster1::> node run local sysstat -x 1 CPU NFS CIFS HTTP Total Net kB/s Disk kB/s Tape kB/s Cache Cache CP CP_Ty CP_Ph Disk OTHER FCP iSCSI FCP kB/s iSCSI kB/s NVMeF kB/s kB/s in out read write read write age hit time [T--H--F--N--B--O--#--:] [n--v--p--f] util in out in out 23% 0 77 0 162 72 4803 10399 3701 0 0 >60 96% 74% 0--0--0--0--0--0--0--0 0--0--0--0 50% 85 0 0 0 0 0 0 0 0 0 27% 0 27 0 53 64 3773 2318 8 0 0 >60 96% 0% 0--0--0--0--0--0--0--0 0--0--0--0 40% 26 0 0 0 0 0 0 0 0 0 15% 0 63 0 66 39 3341 4609 0 0 0 >60 98% 0% 0--0--0--0--0--0--0--0 0--0--0--0 23% 3 0 0 0 0 0 0 0 0 0
sysstat -M 1
  • 以下列很有用:
    • Nwk_Exmpt 显示网络CPU处理的利用率
    • WAFL_Ex 显示Data Processing (D刀片式服务器或WAFL)的利用率
单击以查看示例
cluster1::> set diag Warning: These diagnostic commands are for use by NetApp personnel only. Do you want to continue? {y|n}: y cluster1::*> node run -node netapp-01 sysstat -M 1 ANY1+ ANY2+ ANY3+ ANY4+ ANY5+ ANY6+ ANY7+ ANY8+ ANY9+ ANY10+ ANY11+ ANY12+ ANY13+ ANY14+ ANY15+ ANY16+ AVG 100% 100% 100% 99% 98% 96% 94% 91% 86% 81% 76% 70% 64% 57% 48% 37% 81% CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7 CPU8 CPU9 CPU10 CPU11 CPU12 CPU13 CPU14 CPU15 78% 76% 77% 83% 82% 83% 82% 82% 82% 82% 83% 84% 83% 82% 83% 82% Nwk_Excl Nwk_Lg Nwk_Exmpt Protocol Cluster Storage Raid Raid_Ex Target Kahuna WAFL_Ex(Kahu) 3% 2% 450% 0% 0% 49% 2% 136% 0% 4% 511%( 94%) WAFL_XClean SM_Exempt Cifs Exempt SSAN_Ex Intr Host Ops/s CP 0% 0% 0% 112% 0% 28% 8% 47111 0%
statit
  • 以下列很有用:
    • ut% 是将I/O命令发送到磁盘与不执行I/O命令的时间除以运行状态时间的百分比
    • xfers 显示每个驱动器的平均磁盘IOPS量
      • 每种xfer 类型都可用于查看IOPS细分
    • chain 是以4 KB为单位的I/O大小
      • 示例:1个链为4 KB、2个链为8 KB
    • usecs 是指每个驱动器的每种IOP类型的微秒延迟
单击以查看示例
  • filer> priv set advanced
  • filer*> statit -b
  • (等待30秒或更长时间)
  • filer*> statit -e
Disk Statistics (per second) ut% is the percent of time the disk was busy. xfers is the number of data-transfer commands issued per second. xfers = ureads + writes + cpreads + greads + gwrites chain is the average number of 4K blocks per command. usecs is the average disk round-trip time per 4K block. disk ut% xfers ureads--chain-usecs writes--chain-usecs cpreads-chain-usecs greads--chain-usecs gwrites-chain-usecs /aggr0/plex0/rg0: 0a.00.0 1 1.73 0.27 1.00 667 1.36 6.07 352 0.09 1.00 6000 0.00 .... . 0.00 .... . 0a.00.1 1 1.82 0.27 1.00 333 1.55 5.59 495 0.00 .... . 0.00 .... . 0.00 .... . 0a.00.2 20 50.55 10.00 5.00 2200 0.36 20.00 375 0.18 1.00 6000 0.00 .... . 0.00 .... .
wafltop
  • 以下是一些示例:
单击以查看示例
qos statistics
  • 以下是一些示例:
单击以查看示例

追加信息

其他信息文本

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.