macOS · native
hmon
A menu bar monitor for Apple Silicon. Temperature, CPU, memory, disk, network and battery — 35 sensors, sampled every two seconds, in a popover that stays out of the way until you ask for it.
Install and run
$ git clone https://github.com/MilanDroid/hmon.git $ cd hmon && make install # release build, ad-hoc signed .app, copied to ~/Applications and launched
Needs macOS 13 or later and the Swift 5.9 toolchain from the Xcode 15 Command Line Tools. There is no dock icon — look to the right side of the menu bar. Free and MIT licensed.
Reading sensors Apple does not publish
Thermal data on Apple Silicon is not part of any public API.
Apple Silicon thermal sensors are exposed through the private
IOHIDEventSystemClient interface. There is no header for it and no
supported entry point, so hmon resolves the symbols at runtime and matches on
temperature event services directly.
Everything else comes from documented ground: IOKit for battery and
disk, host statistics for CPU and memory, and interface counters differenced across
samples for network throughput.
How a reading reaches the menu bar
Sampling runs on its own queue so a slow sensor read never stutters the UI.
What each section shows
Temperature
CPU, GPU and battery in °C, each with its own bar, over a shared 5-minute sparkline.
CPU
Total load with a per-core breakdown behind a disclosure, plus a 5-minute trace.
Memory
Used against total, as a percentage and as a series.
Disk
Used and free, with the percentage the Finder does not put in front of you.
Network
Down and up in KB/s, differenced from interface counters between samples.
Battery
Health as macOS reports it, with the raw numbers behind that figure: cycles, design capacity, voltage, current draw.
The interface
Click the menu bar item for the popover. The switch on each section header decides what the menu bar shows; the popover itself always shows everything.
The menu bar strip
Rendered here rather than screenshotted, since it is only ever a line of text.
🌡 54.6° 46.6° 28% 19.7G 248G BAT 88% ↓217.0K ↑25.5K
Sources
| Sensors.swift | Runtime symbol resolution for the private HID event system; temperature services matched and read as floats. |
|---|---|
| SystemStats.swift | CPU, memory, disk and network counters from documented interfaces. |
| Battery.swift | Health, cycles, capacity, voltage and current draw, kept separate because the arithmetic behind "health" deserves its own file. |
| StatsModel.swift | The 2-second timer, the rolling 5-minute series, and the deltas that turn counters into rates. |
| PopoverView.swift | SwiftUI popover, sections and the sparkline drawing. |
| DesktopWidget.swift | The desktop-level presentation. |
| LaunchAtLogin.swift | ServiceManagement registration behind the toggle. |
| AppDelegate.swift | Status item ownership and anchoring the popover to it. |