I have a curiosity about memory management in Linux: It is possible to determine the use of real memory? (That memory that is being used actually, without being allocated only). How can I do it?
Explanation:
To my knowledge, linux only releases memory when you need it, so if I do not popped the memory overrun limit I can have a large area of memory that is allocated, however not in use. Is there any way I calculate only what is actually in use at the moment?
tmpfs,
shm,
andhugepages…
may help. I showed some calculations there. – eyoung100 Dec 22 '14 at 16:47free
command. The integer value against '-/+ buffers/cache' under theused
coloumn will tell you how much memory is being used (not taking into consideration the amount allocated to cache and buffers. – Sree Dec 22 '14 at 17:05