Skip to main content
NetApp Knowledge Base

What commands are useful to monitor performance in ONTAP 9?

Views:
3,879
Visibility:
Public
Votes:
7
Category:
ontap-9
Specialty:
perf
Last Updated:

Applies to

ONTAP 9

Answer

Command Example
statistics show-periodic [-node <node name> ]
  • The following columns are useful:
    • cpu busy tells the CPU usage across CPU domains
    • data columns show how much Ethernet throughput is going through all NICs on the node
    • cluster columns show how much data is going through the Cluster LIFs
Click to view example
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
  • The following columns are useful:
    • CPU tells the CPU usage
    • CP time is the time either flushing or not flushing a Consistency Point from RAM to disk in each line of sysstat output (1 second if -x 1 is specified)
      • This is not useful unless troubleshooting CPs
    • CP_Ty can be useful if there are back-to-back CPs
Click to view example
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
  • The following columns are useful:
    • Nwk_Exmpt displays the utilization of network CPU processing
    • WAFL_Ex display the utilization of the Data Processing (D-Blade or WAFL)
Click to view example

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
  • The following columns are useful:
    • ut% is the percentage of time the disk has I/O commands sent to the disk versus no i/o commands divided by the time statit is ran
    • xfers displays the amount of disk IOPS average per drive
      • Each xfer type is useful for viewing the IOP breakdown
    • chain is the i/o size in 4kB units
      • Example: 1 chain is 4 kB, 2 chains are 8 kB
    • usecs is the microsecond latency per IOP type per drive
Click to view example
  • filer> priv set advanced
  • filer*> statit -b
  • (Wait 30 or more seconds)
  • 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
  • The following has some examples:
Click to view example
qos statistics
  • The following has some examples:
Click to view example

 

Additional Information

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.

 

  • Was this article helpful?