DX Application Performance Management

 View Only
  • 1.  Track pid of high CPU causing process

    Posted Jun 15, 2015 12:25 AM

    Hi,

     

    We are facing intermittent high CPU issue in one of our Solaris server. There is an EPagent installed with these scripts - vmstat.pl and TopProcess.pl . vmstat shows overall high CPU utilization and TopProcess.pl  shows top 10 pids.These scripts run every 10 mins.

     

    Though vmstat shows high cpu utilization , say 98 %, the pids displayed by TopProcess.pl doesn't reflect that. I guess it is because of 1) the difference in execution time of these scripts - for eg - vmstat.pl takes around 2.5 secs to get executed whereas TopProcess.pl takes around 500ms to get executed. 2) high cpu is only a spike as it gets normal within milliseconds. vmstat and TopProcess must fetch data at one instant to get the pid which causes cpu spike.

     

    Is there any resolution for this?

     

    Geethu



  • 2.  Re: Track pid of high CPU causing process

    Posted Jun 16, 2015 03:46 AM

    Are there any scripts to monitor pids which consume cpu and memory?

     

    Geethu



  • 3.  Re: Track pid of high CPU causing process
    Best Answer

    Broadcom Employee
    Posted Jun 18, 2015 06:35 PM

    I wrote a process monitoring script, but it was written specifically for WebSphere. You can find it in documents with the 'fieldpack' tag.

     

    You can modify it to get the process name and it script logic will get the performance metrics for you.