Linux memory: Difference between revisions
From DWIKI
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
*[https://www.tecmint.com/clear-ram-memory-cache-buffer-and-swap-space-on-linux/ How to Clear RAM Memory Cache, Buffer and Swap Space on Linux] | *[https://www.tecmint.com/clear-ram-memory-cache-buffer-and-swap-space-on-linux/ How to Clear RAM Memory Cache, Buffer and Swap Space on Linux] | ||
*[http://serverfault.com/questions/377617/how-to-interpret-output-from-linux-top-command How to interpret output from Linux 'top' command?] | *[http://serverfault.com/questions/377617/how-to-interpret-output-from-linux-top-command How to interpret output from Linux 'top' command?] | ||
*<span style="font-family:monospace"><span style="color:#000000; background-color:#ffffff">https://linuxhint.com/understanding_vm_swappiness/</span></span> | *<span style="font-family:monospace"><span style="color:#000000; background-color:#ffffff">[https://linuxhint.com/understanding_vm_swappiness/ https://linuxhint.com/understanding_vm_swappiness/]</span></span> | ||
*https://serverfault.com/questions/85470/meaning-of-the-buffers-cache-line-in-the-output-of-free | |||
= Documentation = | |||
man 5 proc | |||
see /proc/meminfo | |||
==total== | |||
Is MemTotal in proc | |||
total installed memory | |||
==used== | |||
total - free - buffers - cache | |||
==unused== | |||
MemFree | |||
= FAQ = | |||
== what is using all my swap? == | |||
smem -r -s swap| head -n3 | smem -r -s swap| head -n3 |
Revision as of 19:56, 15 January 2022
Links
- Linux ate my RAM!
- How to Clear RAM Memory Cache, Buffer and Swap Space on Linux
- How to interpret output from Linux 'top' command?
- https://linuxhint.com/understanding_vm_swappiness/
- https://serverfault.com/questions/85470/meaning-of-the-buffers-cache-line-in-the-output-of-free
Documentation
man 5 proc
see /proc/meminfo
total
Is MemTotal in proc
total installed memory
used
total - free - buffers - cache
unused
MemFree
FAQ
what is using all my swap?
smem -r -s swap| head -n3