📌  相关文章
📜  linux 显示当前内存使用情况 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:31.545000             🧑  作者: Mango

代码示例1
free
#------------------------------------------------------------
#total    Total installed memory
#used    Memory currently in use by running processes (used= total – free – buff/cache)
#free    Unused memory (free= total – used – buff/cache)
#shared    Memory shared by multiple processes
#buffers    Memory reserved by the OS to allocate as buffers when process need them
#cached    Recently used files stored in RAM
#buff/cache    Buffers + Cache
#available    Estimation of how much memory is available for starting new applications, without swapping.