Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Retrieves real-time CPU, RAM, GPU, power, thermal, network, disk and Thunderbolt metrics from Apple Silicon Macs via mactop.
23% 82%+59 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 5 of 22 without it.
What are the default values for sample count and update interval when configuring non-interactive hardware telemetry sampling on Apple Silicon?
Identifies 1 as the default count value
3 of 3 safety checks passed
Execute mactop in headless TOON mode and parse the output for hardware metrics.
brew install mactopmactop --format toon --headless --count 1
CPU Usage:
mactop --format toon --headless --count 1 | grep "^cpu_usage:" | awk '{print $2}'
RAM (used/total GB):
mactop --format toon --headless --count 1 | grep -E "^ (Used|Total):" | awk '{printf "%.1f", $2/1073741824}'
GPU Usage:
mactop --format toon --headless --count 1 | grep "^gpu_usage:" | awk '{print $2}'
Power (total/CPU/GPU):
mactop --format toon --headless --count 1 | grep -E "^ (TotalPower|CPUPower|GPUPower):" | awk '{print $2}'
Thermal State:
Next to this one in the catalogue, plus more from the same author.