The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

pagecache-check.pl - determine whether pages are resident in memory

SYNOPSIS

pagecache-check.pl [-o offset] [-l length] file [file ...]

pagecache-check.pl -h | --help | -?

    $ pagecache-check.pl foo bar
    foo     : cached/total_size=0/187394 cached/total_pages=0/46
    bar     : cached/total_size=36864/36558 cached/total_pages=9/9

DESCRIPTION

Determine whether pages are resident in memory on arbitrary files.

OPTIONS

-o offset, --offset offset

Default is 0. In most cases you don't need to set this option. Offset must be a multiple of the page size.

-l length, --length length

Default is 0. In most cases you don't need to set this option.

SEE ALSO

Sys::PageCache, mincore(2)

AUTHOR

HIROSE, Masaaki <hirose31 _at_ gmail.com>

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.