DEV Community

alexif57
alexif57

Posted on • Updated 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.

Top comments (0)

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