![free 和 vmstat 命令有什么区别?](https://linux22.com/image/1122119/free%20%E5%92%8C%20vmstat%20%E5%91%BD%E4%BB%A4%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB%EF%BC%9F.png)
vmstat 输出:
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
1 1 0 1001568 84736 500928 0 0 47 30 36 63 1 0 99 1
自由输出:
total used free shared buffers cached
Mem: 1918500 916592 1001908 0 84732 500576
-/+ buffers/cache: 331284 1587216
Swap: 1948668 0 1948668
总内存vmstat
是如何计算的?