free

Linux · System · available in the simulator

What it does

Displays amount of free and used memory in the system.

Syntax

free [opciones]

Options and parameters

  • -h

    Displays all output fields automatically scaled to human-readable format.

    free -h
  • -m

    Displays the amount of memory in megabytes.

  • -g

    Displays the amount of memory in gigabytes.

  • -s N

    refreshes every N seconds

  • -s

    Continuously displays the result delayed by the specified seconds.

  • -t

    Displays a line showing the column totals.

Usage examples

  • free -h
Practise free

Related commands