Jump to content
millusions

log show --style syslog | fgrep "Wake reason"

4 posts in this topic

Recommended Posts

hey guys,

 

so log show --style syslog | fgrep "Wake reason" shows the wake reasons, it's great, but it goes back too far and takes too long.

i just ran it, it goes back to 16-11-18 - one month.

 

is there any way to clear those entries?

 

ive tried sudo periodic daily weekly monthly

 

thanks in advance

Share this post


Link to post
Share on other sites
Advertisement

found this command:

log show --predicate 'eventMessage contains "Wake reason"'

 

so much better, try it :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×