How do I monitor memory in Linux?

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

Tìm kiếm

Back
Top