free
SafeMemory usage
free -h
Shows used/free physical and swap memory.
Examples
free -hHuman-readable
Syntax
free -h
Before you run it
Read-only.
Used when you see
Suspected memory leak
1
See the whole flow →Check free memory and swap usage'available' is the real headroom; growing swap is the red flag.
Related commands
- topLive process monitor
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store