???Linux???????????free?????10??????
???????????? ???????[ 2015/2/3 13:48:42 ] ????????Linux ?????? RAM
????Linux???????????????????????????????????????????????????????????п???????????????????????“free”???
????Linux “free”????????????Linux/Unix?????????????????????????????????????????????????????????
??????????????Щ???????????“free”??????Щ?????????????????????????а?????
????1. ???????????
????free????????????????????????????????????????????λ?KB????????????????????????
????# free
????total used free shared buffers cached
????Mem: 1021628 912548 109080 0 120368 655548
????-/+ buffers/cache: 136632 884996
????Swap: 4194296 0 4194296
????2. ????????λ??????
????????-b??????free????????????λ????????С??
????# free -b
????total used free shared buffers cached
????Mem: 1046147072 934420480 111726592 0 123256832 671281152
????-/+ buffers/cache: 139882496 906264576
????Swap: 4294959104 0 4294959104
????3. ?????????λ??????
????????-k??????free????????λ???????????????????????(KB)???????λ???????С??
????# free -k
????total used free shared buffers cached
????Mem: 1021628 912520 109108 0 120368 655548
????-/+ buffers/cache: 136604 885024
????Swap: 4194296 0 4194296
????4. ??????????λ??????
????????(?????)???????С?????-m??????
????# free -m
????total used free shared buffers cached
????Mem: 997 891 106 0 117 640
????-/+ buffers/cache: 133 864
????Swap: 4095 0 4095
????5. ???????????λ??????
???????-g?????????????GB(??????)???λ???????С??
????# free -g
????total used free shared buffers cached
????Mem: 0 0 0 0 0 0
????-/+ buffers/cache: 0 0
????Swap: 3 0 3
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11