2e3574f6e3b6aa162a53e8c8c672ab1d87619b81
- AppSettings (@MainActor, UserDefaults-persisted): refresh interval, menu-bar metric, notifications toggle, CPU/disk/low-battery alert thresholds, launch-at-login; pushes changes into live services; nonisolated clampInterval - LoginItem via SMAppService (macOS 13+), register/unregister with error catch - SystemMonitor: runtime-configurable refresh cadence (was hardcoded 3s) - SettingsView (⌘,): General (login, interval, menu-bar metric) + Alerts (notifications + thresholds) tabs - MenuBarLabel: user-selectable menu-bar metric (CPU/Memory/Health/Download) - Menu-bar dropdown: Top CPU Consumers with one-click quit - 3 new tests (55 total); smoke: runs clean, Settings… menu registered Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Screenshots
Processes
Apps
Performance - CPU
Performance - Memory
Performance - Network
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
-
Clone the repository:
git clone https://github.com/hariel1985/TopManager.git -
Open
TopManager.xcodeprojin Xcode -
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:
libprocfor process informationIOKitfor GPU and hardware monitoringMetalfor GPU detectionSystemConfigurationfor network monitoring
Languages
Swift
99.7%
Shell
0.3%





