Tuesday, July 9, 2024

spotlight indexing using 98%cpu

disable spotlight indexing

sudo mdutil -i off /

delete existing index

sudo mdutil -E /

re-enable indexing

sudo mdutil -i on /

temporary disable spotlight

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

re-enable spotlight

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

photoanalysisd

whats photoanalysisd ? It scans your photos. creepy and resource intensive, no thanks.

prevent photoanalysisd from running

launchctl unload -w /System/Library/LaunchAgents/com.apple.photoanalysisd.plist

to re-enable it

launchctl load -w /System/Library/LaunchAgents/com.apple.photoanalysisd.plist

No comments:

Post a Comment