Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vladkens/macmon
🦀⚙️ Sudoless performance monitoring for Apple Silicon processors. CPU / GPU / RAM usage, power consumption & temperature 🌡️
https://github.com/vladkens/macmon
apple apple-silicon arm64 asitop cli cpu cpu-monitoring cpu-usage gpu gpu-monitoring gpu-usage m1 macos monitoring powermetrics ratatui ratatui-rs rust terminal tui
Last synced: 19 days ago
JSON representation
🦀⚙️ Sudoless performance monitoring for Apple Silicon processors. CPU / GPU / RAM usage, power consumption & temperature 🌡️
- Host: GitHub
- URL: https://github.com/vladkens/macmon
- Owner: vladkens
- License: mit
- Created: 2024-06-16T08:34:34.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T23:52:40.000Z (about 2 months ago)
- Last Synced: 2024-10-22T20:53:25.917Z (about 2 months ago)
- Topics: apple, apple-silicon, arm64, asitop, cli, cpu, cpu-monitoring, cpu-usage, gpu, gpu-monitoring, gpu-usage, m1, macos, monitoring, powermetrics, ratatui, ratatui-rs, rust, terminal, tui
- Language: Rust
- Homepage:
- Size: 347 KB
- Stars: 219
- Watchers: 1
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tuis - macmon
- awesome-rust-tools - macmon - Sudoless performance / power monitoring for Apple Silicon processors. (System Monitor)
- awesome-ratatui - macmon - Sudoless performance monitoring for Apple Silicon processors. (💻 Apps / 👨💻 System Administration)
README
# `macmon` – Mac Monitor
Sudoless performance monitoring CLI tool for Apple Silicon processors.
[](https://github.com/vladkens/macmon/releases)
[](https://github.com/vladkens/macmon/releases)
[](https://github.com/vladkens/macmon/blob/main/LICENSE)
[](https://buymeacoffee.com/vladkens)
## Motivation
Apple Silicon processors don't provide an easy way to see live power consumption. I was interested in this information while testing local LLM models. `asitop` is a nice and simple TUI to quickly see current metrics, but it reads data from `powermetrics` and requires root privileges. `macmon` uses a private macOS API to gather metrics (essentially the same as `powermetrics`) but runs without sudo. 🎉
## 🌟 Features
- 🚫 Works without sudo
- ⚡ Real-time CPU / GPU / ANE power usage
- 📊 CPU utilization per cluster
- 💾 RAM / Swap usage
- 📈 Historical charts + avg / max values
- 🌡️ Average CPU / GPU temperature
- 🎨 Switchable colors (6 variants)
- 🪟 Can be rendered in a small window
- 🦀 Written in Rust## 🍺 Install via Homebrew
```sh
brew install vladkens/tap/macmon
```## 📦 Install from source
1. Install [Rust toolchain](https://www.rust-lang.org/tools/install)
2. Clone the repo:
```sh
git clone https://github.com/vladkens/macmon.git && cd macmon
```3. Build and run:
```sh
cargo run -r
```4. (Optionally) Binary can be moved to bin folder:
```sh
sudo cp target/release/macmon /usr/local/bin
```## 🚀 Usage
```sh
Usage: macmon [OPTIONS] [COMMAND]Commands:
raw Print raw metrics data instead of TUI
help Print this message or the help of the given subcommand(s)Options:
-i, --interval Update interval in milliseconds [default: 1000]
-h, --help Print help
-V, --version Print versionControls:
c - change color
v - switch charts view: gauge / sparkline
q - quit
```## 🤝 Contributing
We love contributions! Whether you have ideas, suggestions, or bug reports, feel free to open an issue or submit a pull request. Your input is essential in helping us improve `macmon` 💪## 📝 License
`macmon` is distributed under the MIT License. For more details, check out the LICENSE.## 🔍 See also
- [tlkh/asitop](https://github.com/tlkh/asitop) – Original tool. Python, requires sudo.
- [dehydratedpotato/socpowerbud](https://github.com/dehydratedpotato/socpowerbud) – ObjectiveC, sudoless, no TUI.
- [op06072/NeoAsitop](https://github.com/op06072/NeoAsitop) – Swift, sudoless.
- [graelo/pumas](https://github.com/graelo/pumas) – Rust, requires sudo.
- [context-labs/mactop](https://github.com/context-labs/mactop) – Go, requires sudo.---
*PS: One More Thing... Remember, monitoring your Mac's performance with `macmon` is like having a personal trainer for your processor — keeping those cores in shape! 💪*