JAEN

Linux

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
Check free memory and swap usage'available' is the real headroom; growing swap is the red flag.
See the whole flow →
Processes vanish (OOM killer)
2
Review overall memory and swap
See the whole flow →

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