Beacon

February 20, 2026 · View on GitHub

System health beacon for macOS menu bar. Shows a colored status indicator based on system health with a dropdown displaying CPU, memory, disk, network, battery, and uptime metrics.

Beacon Screenshot

Status Levels

  • Green — All systems normal
  • Yellow — One metric elevated (CPU >70%, Memory >80%, Disk >90%)
  • Red — Critical (CPU >90%, Memory >95%, or network down)

Build

swift build

Run

swift run Beacon

Metrics

MetricSource
CPUMach host_processor_info
MemoryMach host_statistics64
DiskFileManager attributes
Networkping 8.8.8.8
Batterypmset -g batt
UptimeProcessInfo.systemUptime

Polls every 3 seconds.