显示系统内存使用情况

free  [-m / -g / -h]

[root@localhost test]# free -m
total used free shared buff/cache available
Mem:
Swap:
[root@localhost test]# free -g
total used free shared buff/cache available
Mem:
Swap:
[root@localhost test]# free -h
total used free shared buff/cache available
Mem: .8G 715M 180M 10M 927M 833M
Swap: .0G 44K .0G
[root@localhost test]#
05-02 15:31