mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
24 lines
436 B
Markdown
24 lines
436 B
Markdown
# vmtouch
|
|
|
|
> Manage the filesystem cache.
|
|
> More information: <https://manned.org/vmtouch>.
|
|
|
|
- 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}}`
|