cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How Dynatrace get hardware resource metrics?

nkobayashi1
Helper

Hi all,

Could you tell me how Dynatrace get usage metrics of CPU and memory of each process?
I need the information for both of Linux and Windows.

Our customer wants this information.
But I could not find in the document.

Best Regards,
Noah

3 REPLIES 3

Lukasz_Wrona
Dynatrace Advisor
Dynatrace Advisor

On Linux per process metrics are read from /proc/ (/proc/<pid>/stat and /proc/<pid>/status here)

On Windows it is calculated based on WinAPI calls (GetProcessTimes() andGetProcessMemoryInfo())

nkobayashi1
Helper

Hi,

I have an additional question about this topics.

How Dynatrace get hardware resource metrics per hosts?
Specifically, the CPU and Memory usage in the following screenshot.

Best, Noah

Lukasz_Wrona
Dynatrace Advisor
Dynatrace Advisor

The answer is analogous. On Linux from /proc/stat and /proc/meminfo and
on Windows from WinApi calls GetSystemTimes() and GetPerformanceInfo()

Featured Posts