Potresti vedere qualcosa del genere se cat /proc/meminfo
:
MemTotal: 8078760 kB
MemFree: 629012 kB
MemAvailable: 1175568 kB
Buffers: 126184 kB
Cached: 2988512 kB
SwapCached: 261320 kB
Active: 4867796 kB
Inactive: 2119244 kB
Active(anon): 4465072 kB
Inactive(anon): 1895064 kB
Active(file): 402724 kB
Inactive(file): 224180 kB
Unevictable: 12068 kB
Mlocked: 12068 kB
SwapTotal: 16582652 kB
SwapFree: 13724816 kB
Dirty: 252 kB
Writeback: 0 kB
AnonPages: 3848816 kB
...
Qual è la differenza tra MemFree e MemAvailable?