pagecache-clear.pl - free pages are resident in memory
pagecache-clear.pl [-r rate] file [file ...]
pagecache-clear.pl -h | --help | -?
$ pagecache-clear.pl foo foo : before cached/total_size=36864/36558 cached/total_pages=9/9 after cached/total_size=0/36558 cached/total_pages=0/9 $ pagecache-clear.pl -r 0.7 foo foo : before cached/total_size=36864/36558 cached/total_pages=9/9 after cached/total_size=8192/36558 cached/total_pages=2/9
Free whether pages are resident in memory on arbitrary files.
Rate to free. "-r 0.5" frees pages that 50% of file size from beginning of a file. pagecache-clear.pl try to free all pages if not specified this -r option.
HIROSE, Masaaki <hirose31 _at_ gmail.com>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.