centos7查看内存使用情况

阅读 132

2022-07-29

centos7查看内存使用情况

[root@localhost ~]# free -h
total used free shared buff/cache available
Mem: 125G 3.4G 19G 816M 102G 120G
Swap: 29G 6.9M 29G

解释:

第一行:

total:内存总大小。

used:使用的内存。

free:除了buff/cache剩余的内存。

shared:共享内存。

buff/cache:缓冲、缓存区内存数。

available:真实剩余的可用内存数。

关系:total = used + free + buff/cache

关系:available 包含 free 和 buff/cache 剩余部分,则是真实剩余内存。

精彩评论(0)

0 0 举报