free command
The free command, which reports total, used and available memory on Linux.
In more detail
The available column is the one to read: Linux uses spare memory as disk cache and gives it back on demand, so used alone looks alarming. macOS has no free command.
Related terms
- memory — The fast, temporary working space where running programs keep their data; it is emptied when the machine powers off.
- uptime — The command that shows how long the machine has been running, how many users are logged in and the load averages.
Taught in
- Scheduling, Monitoring And A Script That Reports — Bash Scripting & Command Line Automation