Linux????????????й?????????λ????
???????????? ???????[ 2013/4/11 10:39:53 ] ????????
??????????????У????????????????????????????????????????????????о???????????????????????о????С???????????????????????й???????????????????????????????????proc???????????????з???????????????????????С????????????й????????????????λ??Ρ?
????Linux?????????????????????????????e??????????????????????Щ?????????????????????????????治???????????????????????????cache??棬????????á?
??????????????????
?????????proc???μ?meminfo?????????????????????????????п???????????=memfree+buffers+cached????memfree????????????????д?????pdflush??????cached??buffered????д?????洢???????????????湩???????????????????????????cache??棺
echo 3 > /proc/sys/vm/drop_caches
??????????????μ???????????????????????п?????????????????29M????棬?????????????Щ??涼????????????
# cat /proc/meminfo
MemTotal: 68956 kB
MemFree: 18632 kB
Buffers: 4096 kB
Cached: 17260 kB
SwapCached: 0 kB
Active: 21304 kB
Inactive: 19248 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 19216 kB
Mapped: 2472 kB
Slab: 6900 kB
SReclaimable: 924 kB
SUnreclaim: 5976 kB
PageTables: 460 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 62060 kB
Committed_AS: 28864 kB
VmallocTotal: 442368 kB
VmallocUsed: 46984 kB
VmallocChunk: 393212 kB
??????????????????????
??????32λ???????У???????????4G???????????????0~3GB???????????????????????????????????????????????3~4GB??linux????????????е?????????????????????????/proc/{pid}/???????????????????????????????????????????????????????????????????
??????????????????????????????????????????????????????????????????????????????????????????????????
????1????????????????Σ??????γ??text?Ρ?
????2??????????????Σ?????洢????????????????????????????
????3???洢???????????????????????
????4???????????????????????????????
????5??????mmap????????????????е?????
??????
???·???
??????????????????
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