I understand the Linux memory metric are read from /proc/meminfo.
Now, I wonder what metric of /proc/meminfo dynatrace use to calculate Linux memory usage.
I guess the answer is following;
memory usage (%) = (MemTotal - (MemFree + Buffers + Cached)) / (MemTotal) * 100
Is it correct?
If it is different between Redhat Linux version 6 and 7, I would like to know the difference.
Solved! Go to Solution.
I am sorry to overlook this document
memory_used = total_memory_size - (free_memory + active_memory + inactive_memory + reclaimamble_memory)
So, I guess these metrics can be replaced with /proc/meminfo metrics like following;
memory usage (%) = (MemTotal - (MemFree + Active+ Inactive + SReclaimable)) / (MemTotal) * 100
Do you think it is correct?