LinuxSystem Infofree -h
free

free -hSystem Info

uname

Show memory usage in human-readable units.

Syntax

free -h

Example

Enter values below to update the example in real time.

free
total
used
shared
buff
cache
available
Mem
Swap
free -h
#               total        used        free      shared  buff/cache   available
# Mem:           15Gi       8.2Gi       2.1Gi       512Mi       5.1Gi       6.8Gi
# Swap:         2.0Gi       256Mi       1.8Gi