# Topbeats: mem.used\_p vs mem.actual\_used\_p

**URL:** <https://discuss.elastic.co/t/topbeats-mem-used-p-vs-mem-actual-used-p/49341>\
**Category:** Beats\
**Created:** [May 5, 2016, 8:48pm UTC](https://discuss.elastic.co/t/topbeats-mem-used-p-vs-mem-actual-used-p/49341 "2016-05-05T20:48:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxwell\_Flanders](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@Maxwell\_Flanders](https://discuss.elastic.co/u/Maxwell_Flanders)\
**Post date:** [May 5, 2016, 8:48pm UTC](https://discuss.elastic.co/t/topbeats-mem-used-p-vs-mem-actual-used-p/49341/1 "2016-05-05T20:48:26Z")

</div>

What is the difference between these two?? I am seeing some crazy variation between these two numbers, 95% vs. .37, (I presumed meant 37%). Why are these two numbers so out of sync??

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [May 5, 2016, 11:57pm UTC](https://discuss.elastic.co/t/topbeats-mem-used-p-vs-mem-actual-used-p/49341/2 "2016-05-05T23:57:31Z")

</div>

For a definition of the fields see the reference documentation: [https://www.elastic.co/guide/en/beats/topbeat/current/exported-fields-system.html#\_mem\_actual\_used](https://www.elastic.co/guide/en/beats/topbeat/current/exported-fields-system.html#_mem_actual_used)

The code for the calculation on Linux is here: [https://github.com/elastic/beats/blob/71bd823b19921ed025689e163163d28f7e0a7cc7/vendor/github.com/elastic/gosigar/sigar\_linux.go#L82-L85](https://github.com/elastic/beats/blob/71bd823b19921ed025689e163163d28f7e0a7cc7/vendor/github.com/elastic/gosigar/sigar_linux.go#L82-L85)

---

<div class="post-metadata">

**Author:** ![Maxwell\_Flanders](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@Maxwell\_Flanders](https://discuss.elastic.co/u/Maxwell_Flanders)\
**Post date:** [May 6, 2016, 11:37am UTC](https://discuss.elastic.co/t/topbeats-mem-used-p-vs-mem-actual-used-p/49341/3 "2016-05-06T11:37:02Z")

</div>

THANK YOU!! I couldnt find that part of the documentation for the life of me!!

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [May 6, 2016, 12:42pm UTC](https://discuss.elastic.co/t/topbeats-mem-used-p-vs-mem-actual-used-p/49341/4 "2016-05-06T12:42:54Z")

</div>

And regarding the .37 vs %37, you can fix that by telling Kibana that the field is a percentage so that it can be formatted properly.

1. Go to Settings
2. Click on the topbeat-\* index.
3. Find the mem.actual\_used\_p field and click the edit button on the right.
4. Change the format to Percentage and click update field.

---

<div class="post-metadata">

**Author:** ![dedemorton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dedemorton/32/84409_2.png) [@dedemorton](https://discuss.elastic.co/u/dedemorton)\
**Post date:** [May 6, 2016, 4:59pm UTC](https://discuss.elastic.co/t/topbeats-mem-used-p-vs-mem-actual-used-p/49341/5 "2016-05-06T16:59:19Z")

</div>

Oh that's not good! We added Search capabilities recently that make it possible to search the entire doc set (or individual docs and releases). Did you try using this feature? It's super handy. Just click the magnifying icon from the main docs page: [https://www.elastic.co/guide/index.html](https://www.elastic.co/guide/index.html)

---

<div class="post-metadata">

**Author:** ![Maxwell\_Flanders](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@Maxwell\_Flanders](https://discuss.elastic.co/u/Maxwell_Flanders)\
**Post date:** [May 11, 2016, 4:40pm UTC](https://discuss.elastic.co/t/topbeats-mem-used-p-vs-mem-actual-used-p/49341/6 "2016-05-11T16:40:27Z")

</div>

That IS very helpful I didnt know that existed. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 9:52pm UTC](https://discuss.elastic.co/t/topbeats-mem-used-p-vs-mem-actual-used-p/49341/7 "2017-07-05T21:52:07Z")

</div>


