question

菜津美 田. avatar image
菜津美 田. asked ·

How Dynatrace calculate Linux memory usage

Hi,

I understand the Linux memory metric are read from /proc/meminfo. https://answers.dynatrace.com/spaces/482/dynatrac...

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.

Best Regards,
Natsumi Tanaka

dynatrace saaslinux
1 comment
10 |2000000 characters needed characters left characters exceeded

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

I am sorry to overlook this document
https://www.dynatrace.com/support/help/how-to-use-dynatrace/hosts/monitoring/measures-for-host-health/

It says;
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?

Best Regards,
Natsumi Tanaka

1 Like 1 · ·

1 Answer

Chad T. avatar image
Chad T. answered ·

@Natsumi T. Dynatrace calculates memory usage as:

memory_used = total_memory_size - (free_memory + active_memory + inactive_memory + reclaimamble_memory)

we have seen this to be correct across all platforms

1 comment Share
10 |2000000 characters needed characters left characters exceeded

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

Thank you for your answer!
1 Like 1 · ·

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions session replay diagnostic tools permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android