Skip to content

Instantly share code, notes, and snippets.

@sampotts
Forked from smashism/previous_shutdown_cause
Created April 7, 2018 08:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sampotts/9ffdc678c31eed9415dcfe9982ba96b0 to your computer and use it in GitHub Desktop.
Save sampotts/9ffdc678c31eed9415dcfe9982ba96b0 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