I have a desktop system where Centos 7 is installed. It has 4 core and 12 GB memory. In order to find memory information I use free -h
command. I have one confusion.
[user@xyz-hi ~]$ free -h
total used free shared buff/cache available
Mem: 11G 4.6G 231M 94M 6.8G 6.6G
Swap: 3.9G 104M 3.8G
In total column, It is saying that total in 11GB (that's correct), in last column available, it is saying that 6.6GB and used is 4.6G.
If used memory is 4.6GB then remaining should be 6.4 GB (11-4.6=6.4). What is correct interpretation of above output
What is the difference between total and available and free memory?
Am I out of memory is above case if I need 1 GB more for some new application?
Best Answer
man free
command solve my problem.