hariel1985 bc494af363 Increment 4: alerts engine, notifications & System Health score
- HealthModel (pure): 0-100 score + plain-language diagnosis + rating
- SystemAlert/AlertKind/AlertThresholds + pure AlertEvaluator (sustained-breach)
- AlertCenter (@MainActor): per-cycle health + alert evaluation, de-dup by kind,
  inbox (capped), native UserNotifications on transition into a condition
- Covers: sustained high CPU, critical memory pressure, disk full, thermal,
  runaway process, low battery
- Wire evaluate() into SystemMonitor; request notif auth on launch
- HealthCardView (score ring + diagnosis) + AlertsInboxView in Power & Storage;
  health score + alert badge in menu bar
- Renamed model Alert->SystemAlert to avoid SwiftUI.Alert shadowing
- 10 new tests incl. AlertCenter de-dup integration (52 total green)
- Visual smoke: Energy + Disk I/O columns render with live data under load

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 20:20:24 +02:00
2026-01-31 00:00:32 +01:00

TopManager

A native macOS system monitor application built with SwiftUI. TopManager provides real-time monitoring of system resources including processes, applications, CPU, memory, GPU, storage, and network.

macOS Swift License

Screenshots

Processes

Processes

Apps

Apps

Performance - CPU

CPU

Performance - Memory

Memory

Performance - Network

Network

Power & Storage

Power & Storage

Features

Processes Tab

  • View all running processes with CPU, memory, and thread information
  • Sort by any column (name, PID, CPU%, memory, threads, user, state)
  • Process states: Running, Sleeping, Stopped, Zombie
  • Context menu to terminate, force kill, suspend, or resume processes
  • Search processes by name or PID

Apps Tab

  • View running user-facing applications
  • Shows app icons, CPU/memory usage, and bundle identifiers
  • Quick actions: Activate, Hide, Quit, Force Quit
  • Copy bundle ID to clipboard

Performance Tab

  • Real-time CPU usage graphs (global and per-core)
  • Memory usage visualization with donut chart
  • Network throughput monitoring
  • Support for Apple Silicon P-cores and E-cores

Power & Storage Tab

  • System status: macOS version, uptime, thermal state
  • CPU and GPU core counts
  • GPU memory/VRAM usage
  • Storage volumes with usage bars
  • Network interface statistics

Requirements

  • macOS 13.0 or later
  • Xcode 15.0 or later (for building)

Building

  1. Clone the repository:

    git clone https://github.com/hariel1985/TopManager.git
    
  2. Open TopManager.xcodeproj in Xcode

  3. Build and run (⌘R)

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Acknowledgments

Built with SwiftUI and native macOS APIs including:

  • libproc for process information
  • IOKit for GPU and hardware monitoring
  • Metal for GPU detection
  • SystemConfiguration for network monitoring
Leírás
No description provided
Readme GPL-3.0 4,1 MiB
Languages
Swift 99.7%
Shell 0.3%