free-command

Linux “free -m”: Total, used and free memory values don't add up [closed]

时光毁灭记忆、已成空白 提交于 2019-12-20 12:09:43
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . On a linux system, while using "free", following are the values: total used free shared buff/cache available Mem: 26755612 873224 389320 286944 25493068 25311948 Swap: 0 0 0 The total, used and free values don't add up. I'm expecting total = used + free. Question: What am I missing here? 回答1: For the main memory

Linux “free -m”: Total, used and free memory values don't add up [closed]

坚强是说给别人听的谎言 提交于 2019-12-20 12:08:53
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . On a linux system, while using "free", following are the values: total used free shared buff/cache available Mem: 26755612 873224 389320 286944 25493068 25311948 Swap: 0 0 0 The total, used and free values don't add up. I'm expecting total = used + free. Question: What am I missing here? 回答1: For the main memory

Linux free shows high memory usage but top does not

♀尐吖头ヾ 提交于 2019-12-20 08:04:41
问题 On RedHat Linux 6.2 I'm running free -m and it shows nearly all 8GB used total used free shared buffers cached Mem: 7989 7734 254 0 28 7128 -/+ buffers/cache: 578 7411 Swap: 4150 0 4150 But at the same time in top -M I cannot see any processes using all this memory: top - 16:03:34 up 4:10, 2 users, load average: 0.08, 0.04, 0.01 Tasks: 169 total, 1 running, 163 sleeping, 5 stopped, 0 zombie Cpu(s): 0.7%us, 0.3%sy, 0.0%ni, 98.6%id, 0.4%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 7989.539M total, 7721.570M

Understanding “Buffers” and “Cached” from free command

南楼画角 提交于 2019-12-18 10:14:08
问题 This has been asked earlier but don't want to update the same thread again as it was a old thread . Want to clarify myself on the "buffers" and "cache" column from the output of free command. This is what my understanding... Buffer is something where data is there in memory but yet to be flushed to disk . The data will be flushed to disk by bdflush daemon periodically or we can do it manually by running sync command . Cache on the other hand is program/data which is loaded into memory but is

Understanding buffers/cache in linux `free -m` [closed]

本秂侑毒 提交于 2019-12-11 20:28:44
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Just looking for some quick help regarding free -m output on Linux. Here's an example on one of my servers: $free -m total used free shared buffers cached Mem: 14881 14813 68 0 262 883 -/+ buffers/cache: 13667 1213 Swap: 4095 240 3855 I understand the kernel can and will use available memory for disk caching to

Linux “free -m”: Total, used and free memory values don't add up [closed]

十年热恋 提交于 2019-12-03 02:10:39
On a linux system, while using "free", following are the values: total used free shared buff/cache available Mem: 26755612 873224 389320 286944 25493068 25311948 Swap: 0 0 0 The total, used and free values don't add up. I'm expecting total = used + free. Question: What am I missing here? For the main memory, the actual size of memory can be calculated as used+free+buffers+cache OR used+free+buffers/cache because buffers/cache = buffer+cache . The man page of free highlights used as Used memory (calculated as total - free - buffers - cache) As the man page of free says :- total Total installed

Linux free shows high memory usage but top does not

僤鯓⒐⒋嵵緔 提交于 2019-12-02 14:11:41
On RedHat Linux 6.2 I'm running free -m and it shows nearly all 8GB used total used free shared buffers cached Mem: 7989 7734 254 0 28 7128 -/+ buffers/cache: 578 7411 Swap: 4150 0 4150 But at the same time in top -M I cannot see any processes using all this memory: top - 16:03:34 up 4:10, 2 users, load average: 0.08, 0.04, 0.01 Tasks: 169 total, 1 running, 163 sleeping, 5 stopped, 0 zombie Cpu(s): 0.7%us, 0.3%sy, 0.0%ni, 98.6%id, 0.4%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 7989.539M total, 7721.570M used, 267.969M free, 28.633M buffers Swap: 4150.992M total, 0.000k used, 4150.992M free, 7115.312M

Understanding buffers/cache in linux `free -m` [closed]

我的梦境 提交于 2019-11-28 02:10:14
问题 Just looking for some quick help regarding free -m output on Linux. Here's an example on one of my servers: $free -m total used free shared buffers cached Mem: 14881 14813 68 0 262 883 -/+ buffers/cache: 13667 1213 Swap: 4095 240 3855 I understand the kernel can and will use available memory for disk caching to speed up the system. Normally, I look at the second value in the "free" column, in the above case it's 1213. It's normally a lot higher than this. I guess I am looking to understand