May 18, 2012

netapp cpu utilization


When monitoring CPU utilization on a dual processor filer (FAS 880, 960, 980 etc), running sysstat can be misleading.

filer>sysstat 5
CPU NFS CIFS HTTP Net kB/s Disk kB/s Tape kB/s Cache
in out read write read write age
80% 4319 2412 0 2529 6772 5428 11098 0 0 25
79% 4213 3173 0 2753 7087 3192 11 0 0 25
82% 4432 3649 0 7902 5380 3414 1084 0 0 25
79% 3647 3573 0 2132 6161 3697 9365 0 0 25
76% 3981 3332 0 2718 5237 2726 11 0 0 25

A more accurate way is to use the -m option

filer>sysstat -m 5
ANY AVG CPU0 CPU1
100% 63% 26% 100%
100% 62% 25% 100%
100% 62% 23% 100%
97% 68% 54% 83%
100% 74% 77% 71%

This shows me that while my filer is busy, its not as bad as the previous output suggests

Comments

  1. nishesh bakshi says:

    Do you know a way to pipe all the information coming from the sysstat command to a file. I know that piping would not work in netapp filer. Any idea on how to accomplish this thing.

  2. Nishesh

    You can ssh to the filer and run the command. That way the output can be re-directed to whatever. I run that quite a bit when I am running statit commands etc, cause they tend to produce copious amounts of data.

    something like


    ssh -l root filer_name_here "sysstat 5" > /tmp/filerstats.txt

    try it and let us know how it works out!

  3. nishesh bakshi says:

    Thanks, unfortunately I do not have ssh access to my netapp filer… I telnet to it.
    Anyways I found another way of logging the sysstat information. I just login from putty and enable the session log in it.

Speak Your Mind

*