Linked Questions

2
votes
0answers
1k views

Portable way to parse /proc/meminfo [duplicate]

I'm having trouble finding a generic code that work, here, for both CentOS 5/6 and CentOS 7 versions pc the /proc/meminfo file. I Want to compute the "Real Used memory" like free does. (amounts ...
0
votes
1answer
411 views

Free Memory Reporting [duplicate]

I have a system where we are constantly storing files into RAM (under /tmp/), processing them and then deleting them. Some files we need to keep in RAM and other not. My problem is that I want to ...
23
votes
3answers
33k views

What do the “buff/cache” and “avail mem” fields in top mean?

Within the output of top, there are two fields, marked "buff/cache" and "avail Mem" in the memory and swap usage lines: What do these two fields mean? I've tried Googling them, but the results only ...
10
votes
1answer
813 views

Is “Cached” memory de-facto free?

When running cat /proc/meminfo, you get these 3 values at the top: MemTotal: 6291456 kB MemFree: 4038976 kB Cached: 1477948 kB As far as I know, the "Cached" value is disk ...
4
votes
1answer
3k views

free command output: gentoo (redhat?) vs debian

I noticed there is a difference between outputs of free command: On debian: $ free -h total used free shared buffers cached Mem: 4.0G 3.4G ...
1
vote
1answer
3k views

Meaning of “available” field in “free -m” command

I am using Linux CentOS 7.2 version. I have searched details about this but can't found any useful information. What is this about?
1
vote
1answer
1k views

Linux Memory: Discrepancy for Buffers+Cache between /proc/meminfo and free?

I have a host and I am not sure about the memory utilization when comparing the output of the free command and the contents of /proc/meminfo. Buffers+Cache don't seem to match between the two sources. ...
2
votes
1answer
545 views

Why does swappiness not work?

We have a RHEL 7 machine, with only 2G of available RAM: free -g total used free shared buff/cache available Mem: 31 28 0 ...
2
votes
1answer
1k views

why centos7 free command output available value less than free value

I ask a question, In my centos7, why available value less than free sometimes I think available value is equal to free+buff+cache, available means when start a app how many memory can use? [root@...
0
votes
2answers
319 views

Why /proc/meminfo shows MemAvailable under Kernel Version 3.10?

I've been using CentOS 7 and its kernel version is 3.10. To check Kernel Version, I typed 'uname -r' and command showed 3.10.0-957.1.3.el7.x86_64 As far as I know, MemAvailable metric was introduced ...
0
votes
1answer
397 views

Linux Mint RAM Memory - Showing different usage and free space

I have just installed Linux Mint about 5 days ago, and then I have upgraded my RAM memory from 8 GB to 12 GB, and I have 4 GB more on the way, so it will get to 16 GB or RAM. The only thing is, I don'...
2
votes
0answers
367 views

Why the output of “free” is different from summation of memory usage for each process in “ps”?

I have a Redhat system which has a total of 64GB RAM. As per free output it is utilizing 47GB of RAM. free -g total used free shared buffers cached Mem: ...
1
vote
1answer
72 views

How shall I understand the output of free?

I have read What do the "buff/cache" and "avail mem" fields in top mean? and https://askubuntu.com/questions/770108/what-do-the-changes-in-free-output-from-14-04-to-16-04-mean. ...
0
votes
1answer
112 views

MemAvailable higher than expected

$ free -h total used free shared buff/cache available Mem: 7.7Gi 4.5Gi 692Mi 305Mi 2.5Gi 2.6Gi Swap: 2.0Gi ...
0
votes
1answer
26 views

Memory immediately available in linux memory management system

This is the output of free -h command on my Ubuntu 18.04 laptop: $ free -hg total used free shared buff/cache available Mem: 11G 4,2G 3,4G ...