centos7查看內存使用情況


centos7 查看內存使用情況說明

[root@t80 ~]# lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.9.2009 (Core)
Release:	7.9.2009
Codename:	Core
[root@t80 ~]# free -h
              total        used        free      shared  buff/cache   available
Mem:           7.6G        1.6G        404M        424M        5.7G        5.4G
Swap:          5.0G        7.0M        5.0G

 注:

第一行:

total:內存總大小。

used:使用的內存。

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

shared:共享內存。

buff/cache:緩沖、緩存區內存數。

available:真實剩余的可用內存數。

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

關系:available 包含 free 和 buff/cache 剩余部分,則是真實剩余內存。

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM