(阅读时间5s)查看内存占用命令free -m
效果如图:可以看到128g内存,可用125g,已经使用1.8g,缓存2.7g
[root@localhost]# free -m
total used free shared buff/cache available
Mem: 128507 1895 99163 11 27448 125777
Swap: 4095 46 4049