From 86f0759fc9e0934d34c9e9ead31dcf99a0a6ec23 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 28 Dec 2024 13:49:51 +0200 Subject: [PATCH] fadvise: add page (#15365) Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec --- pages/linux/fadvise.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/linux/fadvise.md diff --git a/pages/linux/fadvise.md b/pages/linux/fadvise.md new file mode 100644 index 0000000000..401b67ef35 --- /dev/null +++ b/pages/linux/fadvise.md @@ -0,0 +1,16 @@ +# fadvise + +> Control Linux file caching behavior. +> More information: . + +- 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`