HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

free — Display amount of free and used memory in the system. More information: <https://manned.org/free>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandandusedclifreeamountdisplay
linux

Problem

How to use the free command: Display amount of free and used memory in the system. More information: <https://manned.org/free>.

Solution

free — Display amount of free and used memory in the system. More information: <https://manned.org/free>.

Display system memory:
free


Display memory in Bytes/KB/MB/GB:
free -{{b|k|m|g}}


Display memory in human-readable units:
free {{[-h|--human]}}


Refresh the output every 2 seconds:
free {{[-s|--seconds]}} 2

Code Snippets

Display system memory

free

Display memory in Bytes/KB/MB/GB

free -{{b|k|m|g}}

Display memory in human-readable units

free {{[-h|--human]}}

Refresh the output every 2 seconds

free {{[-s|--seconds]}} 2

Context

tldr-pages: linux/free

Revisions (0)

No revisions yet.