跳转到主内容

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

Views:
476
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 列显示通过集群 LIF 的数据量
单击以查看示例
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 秒)
      • 除非对 CP 进行故障排除,否则此操作无效
    • CP_Ty 如果有背对背的 CP,则非常有用
    • 注:此命令、statit 和 wafltop 都是 nodd shell 命令,最后 3 个命令在节点 shell 需要高级或诊断特权(priv set diag)。
单击以查看示例
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-Blade 或 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 命令的时间的百分比除以运行 statit 的时间
    • xfers 显示每个驱动器的平均磁盘 IOPS 量
      • xfer种类型都可用于查看 IOP 明细
    • chain 是以 4kB 为单位的 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
  • 下面是一些示例:
单击以查看示例

追加信息

additionalInformation_text

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.