Skip to content

Instantly share code, notes, and snippets.

@599316527
Last active November 21, 2018 06:38
Show Gist options
  • Save 599316527/0bed0435fa5c430d972fcbabeef4e8ee to your computer and use it in GitHub Desktop.
Save 599316527/0bed0435fa5c430d972fcbabeef4e8ee to your computer and use it in GitHub Desktop.
Remove soagent
#!/usr/bin/env bash
# soagent consumes too much cpu resources for unknown reasons.
# The one way which i know so far to stop it is deleting it.
# Don't worry. An OS-update will take them back. (Just my personal experience)
rm -rf "/System/Library/LaunchAgents/com.apple.soagent.plist"
rm -rf "/System/Library/PrivateFrameworks/MessagesKit.framework/Versions/A/Resources/soagent.app"
rm -rf "~/Library/Application Scripts/com.apple.soagent"
rm -rf "~/Library/Containers/com.apple.soagent"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment