macOS
brew install vmtouchlocal Homebrew formula metadata
sudo port install vmtouchMacPorts ports tree · sysutils/vmtouch/Portfile · source: api.github.com
brew
Portable file system cache diagnostics and control. Version 1.3.1 via Homebrew; verified from local package data.
install
brew install vmtouchlocal Homebrew formula metadata
sudo port install vmtouchMacPorts ports tree · sysutils/vmtouch/Portfile · source: api.github.com
sudo apk add vmtouchAlpine Linux edge package indexes · vmtouch · source: dl-cdn.alpinelinux.org
sudo apt install vmtouchDebian stable package indexes · vmtouch · source: deb.debian.org
sudo dnf install vmtouchFedora Rawhide package metadata · vmtouch · source: dl.fedoraproject.org
nix profile install nixpkgs#vmtouchnixpkgs package indexes · pkgs/by-name/vm/vmtouch/package.nix · source: api.github.com
sudo zypper install vmtouchopenSUSE Tumbleweed package metadata · vmtouch · source: download.opensuse.org
overview
Portable file system cache diagnostics and control
history
vmtouch, the Virtual Memory Toucher, is a portable Unix tool for seeing and influencing which file pages are resident in the filesystem cache. It exposes low-level virtual-memory primitives such as `mmap`, `mincore`, `mlock`, `msync`, and `posix_fadvise` through a compact command-line interface.
The upstream README identifies vmtouch as Doug Hoyte's project, with copyright years 2009-2017 and contributors tracked in the CHANGES file. The changelog records 0.7.1 as the first public release, followed by portability work for Solaris, OS X, and HP-UX by the 0.8.0 release in December 2012.
The 2015-2018 releases show the tool maturing from a cache-inspection utility into a more scriptable systems tool. Version 1.0.1 added page-range support, version 1.1.0 improved large-value checking and Linux block-device handling, version 1.2.0 added include/exclude filename patterns, version 1.3.0 added batch input mode, and version 1.3.1 added PID-file support for daemonized memory locking.
vmtouch's adoption story is mostly that of a niche tool spreading across Unix-like operating systems because it maps directly to common performance investigations. The manual lists confirmed support for Linux, FreeBSD, Solaris, OS X, and HP-UX, while noting that eviction support varies by kernel API.
With no options, vmtouch reports cache residency by mapping files read-only and querying resident pages with `mincore`. Operators use `-t` to fault pages into cache, `-e` to ask the OS to evict pages, and `-l` or `-L` to lock pages in physical memory for as long as the process runs. Directory recursion, page ranges, ignore/include patterns, and batch lists make it usable against large trees.
vmtouch is significant in package-manager culture because it gives administrators a repeatable way to demonstrate and manipulate the otherwise invisible filesystem cache. It is especially handy for benchmarking, warming hot datasets, testing cold-cache behavior, and explaining why a second run of a workload is faster than the first.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
vmtouch | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/hoytech/vmtouch
install metadata
| Package key | brew:vmtouch |
|---|---|
| Version | 1.3.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/vmtouch |
| Homepage | https://hoytech.com/vmtouch/ |
| Repository | https://github.com/hoytech/vmtouch |
| Upstream docs | https://github.com/hoytech/vmtouch#readme |
| License | BSD-3-Clause |
| Source archive | https://github.com/hoytech/vmtouch/archive/refs/tags/v1.3.1.tar.gz |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | vmtouch |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
vmtouch 1.3.1-3
Portable file system cache diagnostics and control
sudo apt install vmtouchvmtouch
nix profile install nixpkgs#vmtouchvmtouch 1.3.1-2
Portable file system cache diagnostics and control
sudo apt install vmtouchvmtouch 1.3.1-r0
Portable file system cache diagnostics and control
sudo apk add vmtouchvmtouch-doc 1.3.1-r0
Portable file system cache diagnostics and control (documentation)
sudo apk add vmtouch-docvmtouch 1.3.1-12.fc44
Portable file system cache diagnostics and control
sudo dnf install vmtouchvmtouch 1.3.1-1.21
Portable file system cache diagnostics and control
sudo zypper install vmtouchvmtouch
sudo port install vmtouchsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.