Forum Stats

  • 3,874,799 Users
  • 2,266,773 Discussions
  • 7,911,967 Comments

Discussions

free -tm gives used memory is less then buffers/cache

User_FYUBP
User_FYUBP Member Posts: 6 Green Ribbon
edited Jul 14, 2022 6:09PM in Linux Discussion

Hi all,

On Linux 8.6. As far as I understand from various document using "free -tm", used memory = used - buffers - cached.

However, looking at the stats, used < (buffers + cached) i.e. 510 - 532 = -22 and is incorrect.

Please advise what is the actual used memory?

[[email protected] ~]# free -tm

        total    used    free   shared buff/cache  available

Mem:     11429     510    10387     10     532    10766 <-- used=510, buff/cache=532

Swap:     23840      0    23840

Total:    35270     510    34228

Thanks

happy