Getting Started¶
Install¶
The install script prefers prebuilt GitHub Release archives. Until release
archives are published, it falls back to cargo install --git and requires a
working Rust toolchain.
Build From Source¶
Install Rust, then build the binary:
The release binary will be written to:
During development, use the debug binary:
Commands¶
Run the live terminal UI:
Print one text snapshot:
Print system information as JSON:
Print a sampled JSON frame:
macvmtop json --sample --interval 0.5 --processes 10
macvmtop json --sample --pid 123 --interval 0.5
Print repeated sampled JSON frames:
Print compact JSON:
Probe readable VM metrics:
Check for a newer published release:
Update using the hosted installer:
TUI Controls¶
In TUI mode:
qexitsCtrl-Cexits- arrow keys or
j/kmove the process selection /starts process searchEnterorEscexits search entryEscclears an inactive searchSpacepauses or resumes sampling
Global Options¶
--interval <seconds> Seconds between samples
--processes <count> Number of processes to display
--pid <PID> Restrict sampled processes to one PID; repeatable
--json Emit JSON for the once command
--verbose Enable debug logs on stderr
JSON Options¶
--sample Include sampled metrics
--count <count> Number of samples to collect with --sample
--pretty Print human-readable JSON
--compact Print compact single-line JSON