[SOLVED] Any way to get last times a Mac screen was unlocked? (not the last log-ins)

Status
Not open for further replies.

Rodion15

Distinguished
Sep 11, 2011
760
7
19,015
I'd be immensely grateful if someone helped me know when the screen was last unlocked (much better a list of the last unlocks). With unlock I mean when you lock the screen then you have to unlock it by entering the password after the screen got locked. I guess this is registered in some log file or there's some Terminal command to get this. I don't mean log-ins (I know you can get that with the "Last" command).
 
Solution
Your Mac logs about everything it does. All of these logs can be accessed in the built in “console” program located in /Applications/Utilities on your Mac. If you type the word “wake” (no quotations) in the search bar, it will tell you when the display was last turned on.

Here is an article going into more depth of the Mac’s logging functions:
https://www.makeuseof.com/tag/whos-been-using-your-mac-behind-your-back-find-out/

xed21

Reputable
Jul 23, 2018
26
0
4,560
Your Mac logs about everything it does. All of these logs can be accessed in the built in “console” program located in /Applications/Utilities on your Mac. If you type the word “wake” (no quotations) in the search bar, it will tell you when the display was last turned on.

Here is an article going into more depth of the Mac’s logging functions:
https://www.makeuseof.com/tag/whos-been-using-your-mac-behind-your-back-find-out/
 
Solution

Rodion15

Distinguished
Sep 11, 2011
760
7
19,015


Sorry I didn't answer you before, I'm still researching this, see post Any log in macOS to get the last usage of a Mac (logged in and the screen unlocked)?
https://apple.stackexchange.com/questions/334108/any-log-in-macos-to-get-the-last-usage-of-a-mac-logged-in-and-the-screen-unlock

Thanks a lot for your answer
 
Status
Not open for further replies.