« 朝から釜炊き米飯のわたくし。 | メイン | 業について語るお母様とそれを聞くコドモをカンサツするわたくし。 »
2008年02月09日
ギャースと雄たけびを上げるわたくし。
http://linux.die.net/man/5/proc
/proc/sys/vm/drop_caches
Writing to this file causes the kernel to drop clean caches, dentriesand inodes from memory, causing that memory to become free.
To free pagecache, use echo 1 > /proc/sys/vm/drop_caches; to free dentries and inodes, use echo 2 > /proc/sys/vm/drop_caches; to free pagecache, dentries and inodes, use echo 3 > /proc/sys/vm/drop_caches.
Because this is a non-destructive operation and dirty objects are not freeable, the user should run sync(8) first.
こういう仕様でございましたか。21世紀だぞー、今は。
とっても気になるなら、時々3回位syncしてから/proc/sys/vm/drop_cachesに3を書き込めということかしらん。
そこはかとなく怒りを覚えないこともないでもないわけでもない。
投稿者 meteor : 2008年02月09日 15:17
トラックバック
このエントリーのトラックバックURL:
http://merope.roaring-dog.jp/rTjU29/mt-tb.cgi/1695