一般在Unix/Linux上,我們會透過 service 這指令來控制(啟用/停用)某些系統服務,在WIndows上也可以透過,"控制台->管理->服務及應用程式" 或 msconfig來達到同等效用。在我的雪豹被我養得愈來愈肥的情況下,該是停掉一些無三小路用的service的時候了。
詳細指令操作,請找男人: man launchctl
.Disable / Unload oooxxx:sudo launchctl unload -w /System/Library/LaunchAgents/com.apple.oooxxx.plist
.Enable / Load oooxxx:sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.oooxxx.plist
.所有Daemons及Agents的擺放目錄如下:
man launchctl
~/Library/LaunchAgents Per-user agents provided by the user.
/Library/LaunchAgents Per-user agents provided by the administrator.
/Library/LaunchDaemons System wide daemons provided by the administrator.
/System/Library/LaunchAgents Mac OS X Per-user agents.
/System/Library/LaunchDaemons Mac OS X System wide daemons.
References:
How To FULLY Disable Spotlight in Leopard
(iPhone) 优化3.0服务,重启内存54M+电量及发热改善明显(大幅优化)