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