How do I monitor memory in Linux?

How do I monitor memory in Linux?
Answer
5 commands to check memory usage on Linux
  1. free command. The free command is the most simple and easy to use command to check memory usage on linux.
  2. /proc/meminfo. The next way to check memory usage is to read the /proc/meminfo file.
  3. vmstat. The vmstat command with the s option, lays out the memory usage statistics much like the proc command.
  4. top command.
  5. htop.
 

Tìm kiếm

Back
Top