Skip to content

Instantly share code, notes, and snippets.

@smashism
Created April 6, 2017 20:39
Show Gist options
  • Save smashism/2b782231e680e0212ab6b8e6af6973b3 to your computer and use it in GitHub Desktop.
Save smashism/2b782231e680e0212ab6b8e6af6973b3 to your computer and use it in GitHub Desktop.
searching for shutdown causes
log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment