diff --git a/pages/common/vmtouch.md b/pages/common/vmtouch.md new file mode 100644 index 000000000..5168194c4 --- /dev/null +++ b/pages/common/vmtouch.md @@ -0,0 +1,24 @@ +# vmtouch + +> Manage the filesystem cache. +> More information: . + +- Print the cache status of a file: + +`vmtouch {{path/to/file}}` + +- Load a file into cache: + +`vmtouch -t {{path/to/file}}` + +- Evict a file from cache: + +`vmtouch -e {{path/to/file}}` + +- Lock a file in cache to prevent eviction from memory: + +`vmtouch -l {{path/to/file}}` + +- Lock a file and daemonize the program: + +`vmtouch -ld {{path/to/file}}`