Linuxシステム情報free -h
free

free -hシステム情報

uname

メモリ使用量を読みやすい単位で表示します。

構文

free -h

使用例

下記の値を入力するとサンプルに即時反映されます。

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