Skip to content

Instantly share code, notes, and snippets.

@corean
Last active March 31, 2018 08:59
Show Gist options
  • Save corean/56df4e4531340279af4598f28b161ee9 to your computer and use it in GitHub Desktop.
Save corean/56df4e4531340279af4598f28b161ee9 to your computer and use it in GitHub Desktop.
MacOS
pmset -g
log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h
//mdworker disable
sudo mdutil -a -i off
//mdwork enable
sudo mdutil -a -i on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment