# Actual memory usage on the SUSE 12 SP4 operating system is inaccurate

**URL:** <https://discuss.elastic.co/t/actual-memory-usage-on-the-suse-12-sp4-operating-system-is-inaccurate/214516>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [January 10, 2020, 1:52am UTC](https://discuss.elastic.co/t/actual-memory-usage-on-the-suse-12-sp4-operating-system-is-inaccurate/214516 "2020-01-10T01:52:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangtanxu](https://avatars.discourse-cdn.com/v4/letter/w/7ea924/32.png) [@wangtanxu](https://discuss.elastic.co/u/wangtanxu)\
**Post date:** [January 10, 2020, 1:52am UTC](https://discuss.elastic.co/t/actual-memory-usage-on-the-suse-12-sp4-operating-system-is-inaccurate/214516/1 "2020-01-10T01:52:29Z")

</div>

```auto
KiB Mem : 16260192 total, 195472 free, 15297300 used
KiB Swap: 16257532 total, 8238932 free, 18600 used. 8257532 cache 

```

- My actual memory usage is `15297300 / 16260192 = 0.94`, right? but the value that metricbeat collects is `(16260192 - 8257532) / 16260192 = 0.49`.

I guess it's supposed to subtract buffer/cache of memory, but it's actually subtracting the cache of swap.

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [January 22, 2020, 9:15am UTC](https://discuss.elastic.co/t/actual-memory-usage-on-the-suse-12-sp4-operating-system-is-inaccurate/214516/2 "2020-01-22T09:15:38Z")

</div>

Hi @wangtanxu 🙂

Can you specify which field exactly is the one that you have discovered that is not correct, please? Just to ease debugging 🙂  
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:** [February 19, 2020, 9:15am UTC](https://discuss.elastic.co/t/actual-memory-usage-on-the-suse-12-sp4-operating-system-is-inaccurate/214516/3 "2020-02-19T09:15:42Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
