Linux Free Ram Slots

  1. Available Ram Slots
  2. Linux Check Free Ram Slots
Linux free ram slots slot

Very often I used to find that my Linux box(s), Fedora & Ubuntu both started reserving more RAM over a period of time since its boot. And the actual RAM left free was less.

I knew it was holding some caches for itself so that it could find the programs loading “quickly” and something like that (Sorry for my newbie language).

Ram

The most common way to free up RAM is Rebooting! But I wanted to avoid it, so did a little “googling” and I came up with an interesting solution – Tell linux to flush all the caches.

Open up a terminal window and type in the following command: sudo dmidecode -type memory. At the beginning of the output you’ll see the maximum memory size allowed by your PC, which is important—you can’t put two 4GB memory modules into a machine that only allows a total of 4GB of RAM.

Available Ram Slots

I’ve created a simple bash script, which u can download.

Linux Check Free Ram Slots

References

Comments are closed.