Difference between revisions of "How to identify processes that prevent a mac from sleeping"

From Tech-Wiki
Jump to: navigation, search
 
 
Line 1: Line 1:
 
[[Category:Apple]]
 
[[Category:Apple]]
 +
'''[[Apple#Mac|Back to Mac]]'''
 +
 +
 
Run the following Terminal command
 
Run the following Terminal command
 
  pmset -g assertions
 
  pmset -g assertions

Latest revision as of 06:19, 22 July 2016

Back to Mac


Run the following Terminal command

pmset -g assertions

The 1st section of output shows the status of kernel assertions. If either PreventSystemSleep or PreventUserIdleSystemSleep have a status of 1 then the mac will not sleep.

In the 2nd section of output the processes that own the assertions are shown(process id then bundle id).

To identify the process:

ps up <pid>