Home How ToHow to check RAM on linux

How to check RAM on linux

by Knowledge Base Linux
How to check RAM on linux — How to check RAM on linux

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

1. Open a terminal window. – How to check RAM on linux

2. Type the following command: – How to check RAM on linux

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.

Related reading: Centralize Server Logs with Rsyslog on Ubuntu

You may also like

KbLinux

Typically replies within a day

Hello, Welcome to the site. Please click below button for chatting me through Telegram.