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
Solved! Go to Solution.
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())
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
The answer is analogous. On Linux from /proc/stat and /proc/meminfo and
on Windows from WinApi calls GetSystemTimes() and GetPerformanceInfo()