6 Replies Latest reply: Sep 11, 2013 11:25 PM by saranraj456 RSS

any way to list what processes on the filer are taking high CPU time?

netappmagic
Currently Being Moderated

We can see constantly high CPU utilization on the filer running CIFS, and FC, are there any ways to track down what are these processes taking high CPU time?

 

Thank you for your input!

  • Re: any way to list what processes on the filer are taking high CPU time?
    MCARDINA221975
    Currently Being Moderated

    Can you tell me if the system is running 7-mode or CMODE?

     

    If it is a 7-Mode system, you can SSH into the box, run the "priv set diag" command to enter the diagnostic command list and then do one of 2 things:

     

    USE THESE COMMANDS WITH CARE!!!

     

         1) run the ps command.  This will dump every running process to the screen...including CPU time.

     

         2) run the sysstat -M 1 command and you can view the various domains ( such as Kahuna ) and see if anything out of the ordinary is eating CPU time.

     

    If it is a CMODE system,

     

         1) Log into the cluster management IP with an ssh client.

         2) type: set diag to enter diag command menu

         3) type: spm to enter the Service Process Management sub-menu.

         4)t type: show to view all processes controlled by SPM.    

     

    That is all I have for CMODE.  I am still learning it!

     

    -Mike-

    • Re: any way to list what processes on the filer are taking high CPU time?
      netappmagic
      Currently Being Moderated

      Hi Michael,

      We running 7-mode and 8.0.2. Thanks for your message, but, I did not make myself clear.

       

      I am actually looking for historic data, since high CPU util is happending in the evening. Are there any ways to trace back what are those processes eatting most of CPU time, by using for example Performance Manager? If not, within Peformance Manager, can I trigger an execuation of a script upon the alert I can then run ps command in diag as you suggested?

  • Re: any way to list what processes on the filer are taking high CPU time?
    MCARDINA221975
    Currently Being Moderated

    Ah!

     

    Historic data can be gathered to some degree with Performance Advisor.  I took a CPU screenshot from my PA install for Processor Usage over the past week.

    This only breaks out operations by domain. It may point you in the right direction from a troubleshooting standpoint, however actual NetApp processes I do not believe can be displayed with this tool.

     

    You could run a perfstat during the time you experience high CPU and then collect the results for post analysis.  Otherwise I am not sure of what other "built in" tool can capture and display historic data.  Especially on a per process basis.

     

     

    Some things to check on with regards to your high CPU in the evening:

         1) If you are running dedupe on any volumes, check the schedules and make sure that there are not a lot overlapping.

         2) The same applies to Snapmirror.   If you have many mirrors kicking off all at once, that can tax the CPU.

     

    That is all I can think of at the moment.  If I find any more info on collecting process specific info I will let you know!

     

    Cheers!  -Mike-

    Capture.JPG

More Like This

  • Retrieving data ...