fadvise is a command used to give file advisory information
to the operating system.
Its "don't need" option (fadvise --dontneed)
is particularly useful to cause the files' pages (blocks)
to be evicted from the buffer-cache.
And the usage information:$ fadvise --verbose --dontneed foo.rrd page size: 4096 foo.rrd: no incore pages.
Usage:
fadvise [options] file [...]
Options:
-help - brief help message
-man - full documentation
-sequential
-random
-willneed
-dontneed
-noreuse
-normal (default)
-offset=n
-length=n
-verbose
-noverbose
You may also be interested in the related fincore command.