In this article, we will look at how to get information about RAM in Linux. We will use the command line utilities available for Linux Mint and most Linux distributions.We will look at different ways to view information about available and occupied RAM.
Free and used RAM
You can use various utilities and commands to get information about the amount of free and used RAM in Linux. Consider a few common ways.
By default, the amount of memory is displayed in kilobytes. Using options, you can output the amount of memory in other formats. Some options:
-m – in megabytes
-g – in gigabytes
-h – automatically detect format
The header displays information about the used RAM.
To exit the utility press the q key.
To install the htop utility on Ubuntu Linux (Linux Mint and other Ubuntu/Debian distributions), run: