fadvise: add page (#15365)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
16
pages/linux/fadvise.md
Normal file
16
pages/linux/fadvise.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# fadvise
|
||||
|
||||
> Control Linux file caching behavior.
|
||||
> More information: <https://manned.org/fadvise>.
|
||||
|
||||
- Preload a file into cache:
|
||||
|
||||
`fadvise {{-a|--advice}} willneed {{path/to/file}}`
|
||||
|
||||
- Suggest dropping a file from cache:
|
||||
|
||||
`fadvise {{path/to/file}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`fadvise --help`
|
Reference in New Issue
Block a user