Linuxでfreeコマンドの使い方

2018年11月5日

1.メガバイト単位で表示
#free -m
total used free shared buff/cache available
Mem: 2000 1367 173 4 458 363
Swap: 4095 692 3403

2.物理メモリとスワップ領域の合計
# free -mt
total used free shared buff/cache available
Mem: 2000 1367 173 4 458 363
Swap: 4095 692 3403
Total: 6096 2060 3577

3.使用状況確認
# free
total used free shared buff/cache available
Mem: 2048204 1337856 160680 4388 549668 435120
Swap: 4194300 709016 3485284

Linux

Posted by arkgame