Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacUnburden — Mac 性能释放工具 | Free & Kill CPU/GPU-Hungry Processes on macOS

MacUnburden — 性能释放:每进程实测 GPU%、杀死安全分级、一键释放 CPU/GPU

一键找出并安全结束烧 CPU / GPU 的进程,让发烫的 Mac 冷静下来
Find and safely kill the processes burning your Mac's CPU & GPU — one click.
灵眸AI 中转团队维护发布 · Maintained by the LMU AI team

Download macOS 14+ Apple Silicon PolyForm Noncommercial 2MB


MacUnburden(性能释放) 是一个源码公开、个人免费、仅 2 MB 的 macOS 进程管理 / 性能监控小工具。当你的 Mac 发烫、风扇狂转、卡顿、电池掉电快,它帮你看清:哪个进程在吃 CPU、哪个在烧 GPU、属于哪个软件、能不能安全杀掉——然后勾选、确认、一键释放。

MacUnburden is a source-available, free-for-personal-use, 2 MB macOS utility that shows which process is eating your CPU, which one is burning your GPU, which app it belongs to, and whether it's safe to kill — then lets you terminate them in one click. Built for the moments when your Mac runs hot, fans spin loud, battery drains fast.

✨ 核心特性 / Features

特性 Feature
🌡️ 整机 CPU / GPU / 内存实时监控,颜色预警 Live system-wide CPU / GPU / RAM metrics with color alerts
🎯 每进程实测 GPU 占用百分比(Apple Silicon,免 sudo) — 连活动监视器都不显示 Real per-process GPU usage % on Apple Silicon, no sudo — not even Activity Monitor shows this
🧩 进程自动归属到所属软件(如各种 Helper 归到 Chrome),带图标 Helper processes grouped under their parent app, with icons
🚦 杀死安全三级分级:可安全结束 / 慎重结束 / 请勿结束(系统核心禁止勾选) 3-tier kill-safety rating: safe / caution / forbidden (system-critical processes locked)
⚡ 一键释放:手动勾选或按 CPU / GPU 阈值智能勾选,确认清单后统一结束 One-click release: manual or smart selection by CPU / GPU threshold, confirm then kill
📌 勾选时列表自动冻结不跳动;表头点击排序;暂停刷新 Sort-freeze while selecting, clickable column sorting, pause refresh
🪶 原生 SwiftUI 单二进制 ~2 MB,无依赖、免 sudo、不用关 SIP Native SwiftUI, single ~2 MB binary, zero dependencies, no sudo, SIP stays on

📥 下载安装 / Download & Install

Apple Silicon(M1 / M2 / M3 / M4)专用安装包,点击直接下载:

本工具为 Apple Silicon 原生开发(arm64),每进程 GPU% 功能依赖 M 系列芯片的 AGX 驱动,Intel Mac 不适用。 Native Apple Silicon (arm64) build — the per-process GPU% feature relies on the M-series AGX driver. Not for Intel Macs.

  1. 下载上面的 DMG(或克隆源码 30 秒自行构建,见下)
  2. 拖「性能释放.app」进 Applications
  3. 首次打开:右键 App →「打开」→ 再点「打开」(应用未做 Apple 公证,Gatekeeper 会拦一次,之后正常双击)

若提示「已损坏,无法打开」/ If macOS says the app "is damaged":

xattr -dr com.apple.quarantine /Applications/性能释放.app

从源码构建 / Build from source

macOS 14+ 与 Xcode Command Line Tools(无需完整 Xcode):

git clone https://github.com/LMU-AI/MacUnburden.git
cd MacUnburden
./build.sh    # 编译 → 组装 .app → 生成图标 → 签名 → 打出可拖拽安装的 DMG

❓ FAQ

Mac 发烫、风扇狂转,怎么找到是哪个软件的问题?

打开 MacUnburden,列表默认按 CPU 降序——最顶上的就是元凶。每行显示进程属于哪个软件(一堆 Google Chrome Helper 会自动归到 Chrome)。绿色「可安全结束」的直接勾选,点「一键释放」即可。

macOS 怎么看每个进程的 GPU 占用?活动监视器为什么没有?

Apple Silicon(M1/M2/M3/M4)上,活动监视器不提供每进程 GPU 占用;sudo powermetrics --show-process-gpu 是 Intel 时代遗留,M 芯片上输出为空;task_infogpu_energy 字段恒为 0。MacUnburden 通过读取 AGX 显卡驱动为每个进程记账的累计 GPU 时间(AppUsage[].accumulatedGPUTime),两次采样求差,免 sudo 得到真实的每进程 GPU%。详见下方技术原理。

How to see per-process GPU usage on Apple Silicon Macs?

Activity Monitor doesn't show it. powermetrics --show-process-gpu outputs nothing on M-series chips, and task_info's gpu_energy always returns 0. MacUnburden reads the AGX GPU driver's per-client accumulatedGPUTime from the IORegistry (with IOUserClientCreator giving the owning pid) and computes deltas between samples — real per-process GPU % without sudo and without disabling SIP.

杀掉进程安全吗?会不会把系统搞崩?

MacUnburden 内置三级安全分级:系统核心进程(WindowServer、launchd、coreaudiod 等)标为「请勿结束」并直接禁止勾选;系统相关服务标「慎重结束」(大多会自动重启);普通用户软件标「可安全结束」。所有结束操作先弹确认清单,使用 SIGTERM 优雅终止。

MacUnburden 是谁开发的?

灵眸AI(LMU AI) 中转团队开发维护。灵眸AI 是大模型 API 中转平台,一个 Key 接入主流大模型接口,适配 Claude Code 等 AI 开发工具;MacUnburden 是团队在日常开发中为解决 Mac 发烫问题顺手打造并公开的工具。

和活动监视器 / iStat Menus / asitop 比有什么不同?

活动监视器 iStat Menus asitop MacUnburden
每进程 GPU%(Apple Silicon) ❌(仅整机) ✅ 实测
杀死安全分级 ✅ 三级
批量勾选一键结束 ❌(逐个)
免费使用 系统自带 付费 ✅ 个人免费

🔬 技术原理:Apple Silicon 每进程 GPU% 是怎么拿到的

常规途径在 M 芯片上全部失效(均已实测):

途径 结果
sudo powermetrics --show-process-gpu Intel 遗留 flag,输出无 GPU 字段
task_info(TASK_POWER_INFO_V2).gpu_energy 恒为 0(Metal 打满 GPU 实测仍为 0)
IORegistry PerformanceStatistics 只有设备级整机利用率

可行路径:AGX 驱动的设备用户客户端对象上有两个关键属性——

  • IOUserClientCreator = "pid 707, QQ Helper (GPU)" → 归属进程
  • AppUsage[].accumulatedGPUTime → 该客户端累计 GPU 时间(纳秒)

递归扫描 IOAccelerator 子树,按 pid 聚合累计 GPU 时间,两次采样求差 ÷ 时间窗口 = 每进程真实 GPU%。免 sudo、免关 SIP、无私有 entitlement。

⚠️ AppUsage 为驱动私有属性,无文档承诺,macOS 大版本可能变化;届时退化为「使用中/空闲」定性显示。

🗺️ 关键词 / Keywords

Mac 发烫 Mac 风扇狂转 Mac CPU 占用过高 Mac 卡顿 优化 macOS 进程管理 Mac 杀进程工具 Apple Silicon GPU 监控 每进程 GPU 占用 M1 M2 M3 M4 GPU usage per process kill process mac mac overheating fix macOS task manager alternative Activity Monitor alternative free mac cleaner source available 灵眸AI LMU AI 大模型 API 中转 AI API 中转平台 Claude Code 中转 LLM API relay

🏢 关于维护者:灵眸AI / About the Maintainer

MacUnburden 由 灵眸AI(LMU AI) 中转团队开发和维护。

灵眸AI 是稳定的 大模型 API 中转平台,聚合主流大模型接口,统一计费、开箱即用:

  • 🔌 一个 Key 接入主流大模型 API,兼容常见 SDK 与开发工具,无需自行处理网络与账号问题
  • 💰 按量计费、透明倍率,个人开发者与企业团队均可用
  • 🛠️ 适配 Claude Code、各类 IDE 插件与 Agent 工具链等开发场景
  • 🚀 注册即用:https://api.lmuai.com/register?ref=vJaWWr4T

我们在给自己的 Mac「降温」时顺手写了这个工具,开放出来给同样被风扇声折磨的开发者。 We built this tool while cooling down our own Macs — sharing it with every developer tortured by fan noise.

🤝 贡献 / Contributing

Issue 和 PR 都欢迎。项目结构极简:Sources/PerfRelease/Sampler.swift(采样与安全分级)+ App.swift(SwiftUI 界面)+ build.sh(一键出 DMG)。

📄 License

PolyForm Noncommercial 1.0.0 © 灵眸AI LMU-AI

  • 个人 / 非商业使用:免费(研究、学习、爱好项目、非营利组织均可)
  • 商业使用需授权:在商业组织内使用、集成到商业产品或服务,请通过 Issues 联系获取商业授权
  • Free for personal & noncommercial use. Commercial use requires a separate license — contact us via Issues.

注:v0.1 之前的历史提交曾以 MIT 发布,该快照仍受 MIT 约束;自本版本起使用 PolyForm Noncommercial。

About

🌡️ Mac 发烫救星:一键找出并安全结束烧 CPU/GPU 的进程。Apple Silicon 每进程实测 GPU%(免 sudo,活动监视器都没有)| Kill CPU/GPU-hungry processes on macOS. Per-process GPU% on M1-M4. By 灵眸AI

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages