Link to home
Start Free TrialLog in
Avatar of BJM1M
BJM1M

asked on

OSX lock and unlock history

Is there a way to obtain a history of lock or unlock events in OSX?

I'd like to obtain without deploying an application to OSX based devices, the logged on user, the date and time that the device was locked or unlocked. Locks can be set by screensaver or explicitly by the user.

As an example:

pmset -g log|grep -e ” Sleep ” -e ” Wake “ will show the sleep and wake events

Last command will show the users logon date, duration, shutdown, tty etc.

What I'm looking for is a similar type of command which will show the lock and unlock events.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Xaelian
Xaelian
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial