mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 10:15:33 +02:00
vmtouch: add page (#15363)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
dec0fed0da
commit
0d5d7c5558
1 changed files with 24 additions and 0 deletions
24
pages/common/vmtouch.md
Normal file
24
pages/common/vmtouch.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue