vmtouch
vmtouch copied to clipboard
Portable file system cache diagnostics and control
This works to preload head and tail of one file, but it is not persistent: ``` head -c 60000000 "$file" > /dev/null tail -c 1000000 "$file" > /dev/null ``` Now...
Sadly I'm not able to find a tgz package and I don't know how to build one.
The following command does not make sense, as the first execution leaves vmtouch open: ``` vmtouch -l /file1 vmtouch -l /file2 vmtouch -l /file3 ``` So instead I need to...
I like to use `vmtouch` similar to `tail`. At the moment I need to check the size of the file before being able to read the last bytes of the...
``` vmtouch "/mnt/disk1/Movie/OP" Files: 213 Directories: 137 Resident Pages: 386/850054462 1M/3242G 4.54e-05% Elapsed: 12.575 seconds ``` Result is: 4.54e-05% Should be: 0.00% or 0.01% if you prefer rounding up.
Version 1.3.1 The man page says that the default maximum file size is 500 MiB, but it accepted a file of 10 GiB without using `-m` in the command: `$...
`vmtouch -b file` loads the files, mentioned in `file`, into RAM. Consider monitorying `file`, when it is closed, or overwritten, and reread it. In particular, when file1 was in `file`...
Did you thing about a systemd service? Something like: ``` [Unit] Description=vmtouch Documentation=https://github.com/hoytech/vmtouch/blob/master/vmtouch.pod DefaultDependencies=no After=local-fs.target Conflicts=shutdown.target Before=shutdown.target [Service] EnvironmentFile=/etc/default/vmtouch ExecStart=/usr/bin/vmtouch $VMTOUCH_OPTIONS $VMTOUCH_FILES [Install] WantedBy=local-fs.target ``` A problem is that it...
Hello, cachectl( https://github.com/cubicdaiya/cachectl ) supports -r option. ``` If you want to leave a cache appended recently, assigning a rate for purging page cache with -r is recommended. cachectl -op...
hi i see that [Debian packaging](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672696) for this tool has mostly stalled. it looks like the biggest blocker is finding a sponsor to upload the package... while I am not...