Linux command
pumas 命令
安全
May affect permissions or system state. Check the target first.
命令示例
Launch the power monitor TUI
sudo pumas
Stream metrics as JSON
sudo pumas --json
说明
pumas is an nvtop-inspired command-line tool for monitoring power usage and performance metrics on Apple Silicon Macs. It runs in two modes: a TUI mode displaying global metrics for utilization and power consumption, and a JSON mode for piping metrics to tools like jq or building Prometheus exporters. It uses the macOS powermetrics utility and the sysinfo crate.
参数
- --json
- Stream metrics to stdout as JSON instead of running the TUI.
FAQ
What is the pumas command used for?
pumas is an nvtop-inspired command-line tool for monitoring power usage and performance metrics on Apple Silicon Macs. It runs in two modes: a TUI mode displaying global metrics for utilization and power consumption, and a JSON mode for piping metrics to tools like jq or building Prometheus exporters. It uses the macOS powermetrics utility and the sysinfo crate.
How do I run a basic pumas example?
Run `sudo pumas` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --json do in pumas?
Stream metrics to stdout as JSON instead of running the TUI.