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