-
Notifications
You must be signed in to change notification settings - Fork 3
Monitoring Pipeline
SystemMonitor.swift samples CPU, performance/efficiency cores, memory, disk, battery, power, network, fan speed, temperatures, SMC values, volume, brightness, thermal state, and top processes. The output is folded into SystemMonitorSnapshot and trend series in MonitoringSnapshot.swift.
Fast interactive monitoring uses a roughly one-second cadence. Basic/background mode backs off. Supplemental data such as disk stats and controls uses refresh gates so slower or heavier reads do not run every sample.
Important APIs include host_statistics, host_processor_info, vm_statistics64, IOPSCopyPowerSourcesInfo, IORegistry queries for AppleSmartBattery, sysctl, IOKit AppleSMC calls, CoreAudio volume APIs, and process enumeration helpers.
All monitoring should remain local. Avoid adding telemetry, network reporting, or account dependencies to the core pipeline.
- Home
- Start Here
- Product Overview
- Runtime Architecture
- Monitoring Pipeline
- Fan Control
- Privileged Helper
- Touch Bar
- Release Automation
- Security Model
- File Index (279)
- Every Commit (401)
- Chronological Change Log
- Removed Parts
- All Deleted Paths
- Branches And Tags
- Wiki Manifest
- Start Here
- Product Overview
- Source Map
- Runtime Architecture
- App Startup And Lifecycle
- Dashboard Architecture
- Menu Bar Architecture
- Monitoring Pipeline
- Snapshot Trends And Freshness
- CPU GPU Memory Disk Network
- Battery Power And Thermals
- SMC And Apple Silicon
- Fan Control
- Custom Fan Curves
- Privileged Helper
- XPC Trust Boundary
- Helper Diagnostics
- Touch Bar Architecture
- Touch Bar Customization
- Weather And Location
- Privacy And Permissions
- Onboarding And Help
- Legacy Alerts
- Kernel Panic Weird Mode