Linux显示一行显示列总计
youhaidong@youhaidong-ThinkPad-Edge-E545:~$ free -t
total used free shared buffers cached
Mem: 3103064 1608344 1494720 7872 67432 652132
-/+ buffers/cache: 888780 2214284
Swap: 3998716 0 3998716
Total: 7101780 1608344 5493436
youhaidong@youhaidong-ThinkPad-Edge-E545:~$ free --total
total used free shared buffers cached
Mem: 3103064 1608840 1494224 7872 67432 652132
-/+ buffers/cache: 889276 2213788
Swap: 3998716 0 3998716
Total: 7101780 1608840 5492940