Linux以字节显示内存大小
youhaidong@youhaidong-ThinkPad-Edge-E545:~$ free -b total used free shared buffers cached Mem: 3177537536 1761021952 1416515584 8433664 69103616 715993088 -/+ buffers/cache: 975925248 2201612288 Swap: 4094685184 0 4094685184 youhaidong@youhaidong-ThinkPad-Edge-E545:~$ free --bytes total used free shared buffers cached Mem: 3177537536 1760796672 1416740864 8433664 69111808 715997184 -/+ buffers/cache: 975687680 2201849856 Swap: 4094685184 0 4094685184
原文:http://blog.csdn.net/you23hai45/article/details/44316693