1 % PCU-FADVISE(1) Page Cache Utilities Manual
2 % Eric Wong <normalperson@yhbt.net>
7 pcu-fadvise - predeclare an access pattern on given files
11 pcu-fadvise [*-a ADVICE*] [*-o OFFSET*] [*-l LENGTH*] FILE...
15 A command-line interface to the posix_fadvise(2) syscall to tell
16 the kernel to optimize access patterns for specified files.
21 : File access pattern advice.
23 : *ADVICE* must be one of the following:
32 The default advice is `normal`.
35 : Apply advice only to the given byte offset.
36 This offset rounded down to the previous page offset.
37 The default offset is zero (beginning of the file).
40 : Apply advice only to the given length in bytes.
41 This length is rounded up next page offset.
42 The default is to scan the entire file.
53 [`posix_fadvise`(2)][1]
57 None known. Email <pcu@librelist.com> if you find any.
59 [1]: http://opengroup.org/onlinepubs/009695399/functions/posix_fadvise.html