NetApp Statit Command

Reviewing performance metrics on a NetApp Data ONTAP operating system can be achieved a number of ways. Recently I was reviewing some FAS2040 filers which appeared to be struggling with the load placed on them.

My first action was to SSH into each filer and use the ‘statit’ command to gather some performance data. There are a lot of commands which we can use in Data ONTAP but I find the ‘statit’ option tends to give me everything I need for a quick glance.

Please note –  if you wish to follow the steps that we will be elevating our session to privileged mode – you should be careful when running like this as there is a greater risk of causing problems if you enter a command incorrectly.

 

Enter Privileged Mode

First we need to enter privileged mode on the filer. Connect via your SSH client of choice and then enter the command ‘priv set advanced’ –

 

Run ‘statit’

Now that we are in privileged mode (denoted by the *) we can run the ‘statit’ command.

There are a few options available however the main switches are –b and –e.

The –b switch will begin a statit monitoring process while the –e switch will end the running process and generate the results output.

Here is the output from one of the filers, it is rather lengthy. If you take a look at the disk statistics and the ‘ut %’ value you will see that the active disks in aggregate 0 are all hitting 97% and above utilisation. This is incredibly high and is the result of load beyond the capability of this hardware configuration.

 

 

Exit Privileged Mode

When we are finished with the statit command it is sensible to return to the default permission level by entering the command ‘priv set’.

We know the CLI has returned to the default mode as the * is no longer displayed.


I find it best to copy the data into something like Notepad++ so I can easily manipulate and view the data outside my SSH session. There are of course many tools and commands for monitoring and troubleshooting performance but often ‘statit’ gives me exactly what I need without having to rely on a customer having deployed a monitoring solution in advance.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.