Back to the command reference

free

SystemBeginner In simulator In real Linux

Show memory usage

Name: free: free memory

You can practise it right away in the simulator, and use it in real Linux mode too.

Description

free shows physical memory and swap usage. Linux uses spare memory as disk cache (buff/cache), so a small free column is normal; available is the memory you can really still use.

Syntax

free [OPTION]

Common options

-h / --humanHuman-readable units
-m / --mebiShow in MiB
-g / --gibiIn GiB
--siUse powers of 1000 rather than 1024 (MB, GB rather than MiB, GiB)
-t / --totalAdd a line with memory and swap together
-s / --seconds NRepeat every N seconds

Examples

Related