• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Application Monitoring & UEM
  • AppMon & UEM Open Q&A
avatar image
Question by Cesar Q. · Sep 12, 2015 at 01:03 AM ·

Current CPU Load Inconsistent?

Hello All,

I'm trying to figure out what exactly Current CPU Load is measuring. I have results from top looking specifically at an IHS Web Server. The numbers returned from top don't line up to anything I have from the chart.

My chart is set to 10s Resolution, with the Current CPU Load measure aggregation set to Max. I would expect to see something in the single digit percentages in dT.

Can someone explain the differences? Thanks.

700-top.png (65.2 KiB)
700-ccpul.png (25.4 KiB)
Comment

People who like this

0 Show 1
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Rajesh S. · Sep 16, 2015 at 07:22 AM 0
Share

Can you try uptime command?

Here is a link: http://stackoverflow.com/questions/8491353/uptime-vs-top-cpu-usage-what-should-i-believe-why-this-difference

4 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image
Best Answer

Answer by Florent D. · Sep 15, 2015 at 07:39 AM

Hi Cesar

apologies, I have now double checked and my comment applied to "system load" not process current CPU load, sorry I had misread your post.

The measure you are charting should indeed apply to the monitored process so here in this case your web server. I agree that there is a discrepancy. According to top, I would expect a figure around 14% (sum of the 4 httpd processes).

One thing troubles me though. Your chart shows data every minute but you should have a data point every 10 seconds (you mentioned that's your resolution). Web server agents (I assume you have indeed deployed one inside IHS) should return data every 10 seconds. Something might be wrong with the agent/measure.

Regards

Flo

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Cesar Q. · Sep 15, 2015 at 10:27 PM 0
Share

Hello Flo,

Again, thanks for your response. Concerning the data resolution: I had completely forgotten about this: As I understand it, the data points are showing only at 1 minute intervals is because this charted data was older than 1 hour, so it was being pulled from the Performance Warehouse at High Resolution, as opposed to from dynaTrace Server Memory at Full resolution.

The issue still stand as to what Current CPU Load actually measures, and, directly related, what the PROPER method is for calculating CPU usage of an Instrumented process. I'd appreciate the help if anyone knows! :)

avatar image

Answer by Cesar Q. · Sep 16, 2015 at 04:25 PM

No Solaris. We're on RHEL.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Florent D. · Sep 16, 2015 at 07:39 AM

actually I remember that top was notoriously wrong on Solaris and I had to use prstart instead but I guess you are not on Solaris?

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Florent D. · Sep 14, 2015 at 03:31 PM

Hi

CPU load should match the load average figure visible at the top of the "top" command (0.15, 0.18, 0.18).

Your measure on the screenshot shows values around 0.2 so it is a close match.

Regards

Flo

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Cesar Q. · Sep 14, 2015 at 07:34 PM 0
Share

Hello Flo,

Thanks for the response. This does bring a couple of questions:

1. The description of this metrics is: Percentage of total CPU load generated by monitored Process.

I would assume that means the instrumented process, which in this case would be the Web Server. But, from your answer, it seems it may not be the case. Can you or anyone else offer any clarification on this?

2. Is there a measure that returns the CPU usage of the instrumented Process, which again, in this case would be the Apache HTTP Server?

Thanks.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A