DEV Community

alexif57
alexif57

Posted on • Edited on

How to Check Memory Usage on Linux

memgauge is a Linux console tool that can be used to monitor memory usage in real time. It is a simple and easy-to-use tool that provides a clear and concise overview of memory usage, including physical memory, swap memory, and cached memory.

Installing memgauge

memgauge is available in sourceforge repository. To install memgauge on Ubuntu/Debian or Manjaro, you can use the following link: https://sourceforge.net/projects/memgauge/

Using memgauge

Once memgauge is installed, you can start it by running the following command:

memgauge
Enter fullscreen mode Exit fullscreen mode

This will open the memgauge program, which displays a real-time memory and swap usage.

memgauge

- Physical memory: This is the total amount of physical memory installed on your system.
- Swap memory: This is secondary memory that is used to store data when physical memory is full.
- Cached memory: This is memory that is used to store frequently accessed data.
- Free memory: This is the amount of physical memory that is currently available.
- Used memory: This is the amount of physical memory that is currently in use.
- Buffer/cache: This is the amount of memory that is being used by the kernel to store buffers and caches.

Conclusion

memgauge is a simple and easy-to-use tool for monitoring memory usage on Linux. It is a great tool for troubleshooting memory problems and for understanding how memory is being used on your system.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

The discussion has been locked. New comments can't be added.

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay