停用禁用tailspind和spindump,提高macOS运行速度

https://www.macobserver.com/tips/how-to/disable-tailspind-spindump-macos-cpu-speed/

电脑太卡,查看CPU运行情况,发现spindump占用太高,于是搜索,发现上面文章
其实在平常使用的时候,tailspind也偶尔爆发一下,因此决定禁用tailspind和spindump.

操作步骤

重启按Command+R进入恢复模式
控制台输入csrutil disable禁用SIP
重启电脑,命令行输入

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.spindump.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.tailspind.plist


sudo mv /System/Library/LaunchDaemons/com.apple.spindump.plist /System/Library/LaunchDaemons/com.apple.spindump.plist.bak
sudo mv /System/Library/LaunchDaemons/com.apple.tailspind.plist /System/Library/LaunchDaemons/com.apple.tailspind.plist.bak

重启按Command+R进入恢复模式
控制台输入csrutil enable启用SIP

建议在macOS升级后检查这些进程,因为升级完全有可能在没有任何警告的情况下重新启用这些进程。
作者也是参考了https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3
好像能够禁用更多的系统进程

恢复命令(也要禁用再启用SIP)

sudo mv /System/Library/LaunchDaemons/com.apple.tailspind.plist.bak /System/Library/LaunchDaemons/com.apple.tailspind.plist
sudo mv /System/Library/LaunchDaemons/com.apple.spindump.plist.bak /System/Library/LaunchDaemons/com.apple.spindump.plist

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.tailspind.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.spindump.plist
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值