How To Check Memory Usage Of Linux?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/check-memory-usage-linux/
PINTEREST
PINTEREST
INSTAGRAM

Linux operating system is popular with its efficient memory usage. Also Linux operating systems provide a lot of details about their memory usage. In this tutorial we will look into details of the memory usage information. There are different ways to get memory usage information. Alternatively we can call this RAM usage. Because in the static most of the information is  about RAM

Get Information With free

free is very easy and lane comamd to get basic information about Linux operating system memory usage. Here is Linux free memory.

Get Information With free
Get Information With free
  • We have 1 GB ram and 441 MB of this ram is currently used.
  • There is no swap memory

Human Readable Format

We can show memory usage with free more human readable by changing KB to GB like below. -h parameters makes this magic.

Human Readable Format
Human Readable Format

Getting Information With top

top command is very detailed and interactive tool to get memory usage information.

Getting Information With top
Getting Information With top

top is a real time tool so it will update table by default in 2 seconds. To list  processes with top according to memory usage use 

Getting Information With top
Getting Information With top

gnome-shell is number one process in memory consumption with %15.3 and other processes listed descending.

We can see at the top KiB Mem: line there is existing memory size and current general usage.

free command
free command

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/check-memory-usage-linux/
PINTEREST
PINTEREST
INSTAGRAM
LEARN MORE  How To Get Ram Size In Linux?