Forum Stats

  • 3,838,561 Users
  • 2,262,383 Discussions
  • 7,900,687 Comments

Discussions

free -tm: used < buffers+cache. What should be actual used memory?

User_FYUBP
User_FYUBP Member Posts: 5 Green Ribbon

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