📜  在 linux 上检查 ram - Shell-Bash 代码示例

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

代码示例4
$ free -t | awk 'NR == 2 {printf("Current Memory Utilization is : %.2f%"), $3/$2*100}'
or
$ free -t | awk 'FNR == 2 {printf("Current Memory Utilization is : %.2f%"), $3/$2*100}'

Current Memory Utilization is : 20.42%