free -h


free : 显示系统内存的使用情况,包括物理内存、交换内存(swap)和内核缓冲区内存
-h, --human : 格式化输出


              total        used        free      shared  buff/cache   available
Mem:           62Gi        58Gi       629Mi       6.0Mi       3.9Gi       3.8Gi
Swap:          31Gi        27Gi       3.9Gi
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.