How to check RAM on linux

How to check RAM on Linux with the free -m command

1. Open a terminal window.

2. Type the following command:

free -m

3. The command will display a table with the following parameters:

  • Mem: Total RAM
  • Used: Used RAM
  • Free: Free RAM
  • Shared: Shared RAM
  • Buffers: Buffer RAM
  • Cached: Cached RAM
  • Mem: Total RAM

Total RAM is the total amount of memory available on the system. This amount includes both used and free RAM.

  • Used: Used RAM

Used RAM is the amount of memory that is being used by the running processes on the system.

  • Free: Free RAM

Free RAM is the amount of memory that is not being used by any process.

  • Shared: Shared RAM

Shared RAM is the amount of memory that is being used by multiple processes at the same time.

  • Buffers: Buffer RAM

Buffer RAM is the amount of memory that is being used to store temporary data from I/O devices.

  • Cached: Cached RAM

Cached RAM is the amount of memory that is being used to store data from recently accessed files.

If the RAM usage is high, you may need to add more RAM to your system. You may also need to optimize your RAM usage by turning off unnecessary applications and deleting unnecessary files.

Knowledge Base Linux
Knowledge Base Linux

Kblinux is an abbreviation for the phrase "Knowledge Base Linux." The website shares instructional articles related to the Linux system. I hope my small blog will reach many people who share the same passion for Linux.

Articles: 37