Questions tagged [free]

Questions about the use and interpretation of the "free" system management tool commonly available in Unix-like operating systems.

The free(1) command is commonly available in Unix-like operating systems, and provides basic information about the amount of memory in use and available (or "free memory", hence the name) on the system.

7 questions
2
votes
1 answer

free and htop report totally different numbers

See the following screenshot: The "total" amount of memory is reported at 8GB by both htop and free, but while free reports that only 2.7GB is "used", htop reports that 7.53GB is used. free reports that 5GB is buffers/cache, while htop reports this…
Fela Maslen
  • 1,343
1
vote
0 answers

Memory usage: big difference in `free -m` and htop as well calculation of used memory in htop compared from /proc/meminfo

I'm aware of this question https://stackoverflow.com/questions/41224738/how-to-calculate-system-memory-usage-from-proc-meminfo-like-htop Answer seems outdated regarding memory usage and this question seems more complex. htop definitely now doesn't…
Hannes
  • 337
0
votes
1 answer

what is the link between SAR memory output and free command?

I now understand a bit more RAM usage in linux OS and I knwo that I can use free -h to have correct knowledge about RAM utilization in my server. but I also have SAR that is working on my server and I don't see the link between SAR outputs and free…
iostrym
  • 43
  • 1
  • 6
0
votes
0 answers

enough memory for downscale ubuntu server?

Management decided to downscale prod server. Current size: Standard B16ms (16 vcpus, 64 GiB memory) Desired size: Standard B8ms (8 vcpus, 32 GiB memory) CPU is mostly idle (output is from sar -u) 10:20:01 CPU %user %nice …
catalin
  • 115
0
votes
1 answer

/proc/meminfo shows MemFree greater than MemAvailable - Does it make sense?

From what I could understand from this change in Linux reported memory usage, /proc/meminfo reports MemFree as currently unused RAM, and MemAvailable as RAM currently available to new processes without swapping. From this, shouldn't MemFree be…
0
votes
1 answer

When to upgrade RAM based on free output

I have a java application that runs on a Linux server with physical memory(RAM) allocated as 12GB where I would see the normal utilization over a period of time as below. sys> free -h total used free shared …
0
votes
0 answers

Apache2 eating all the system RAM

I'm serving on Images ( JPG|JPEG|PNG ) from an apache server. after sometime, the system cache becomes sooo populated that no other programs are able to run -- like recently I noticed that one of the php Cronjob got terminated because of no memory…