2012-07-04

Find out what's keeping your Mac awake

MacOSXHints.com Find out what's keeping your Mac awake

Have you ever been annoyed to find that your Mac won't got to sleep when you tell it to? It turns out that in Mac OS X 10.6 and later, there's a simple way of finding out what's keeping your Mac awake.

Run the following command in your Terminal:

pmset -g assertions

In the first section of output, you'll see the status of two kernel assertions named PreventSystemSleep and PreventUserIdleSystemSleep. An accompanying status of 1 for either of these means that it is currently triggered.

The second section of the output lists the processes which owns any enabled assertions, both by process id (pid) and bundle id. If the verbose bundle id doesn't ring a bell, you can always use ps up <pid>, or look in Activity Monitor, to find the name of the exact command associated with this process.

Add to digg Add to Reddit Add to Slashdot Email this Article Add to StumbleUpon



http://feeds.macosxhints.com/click.phdo?i=b07d5e8a78ead7edf5c99530aaa08566

Sent with Reeder



-tf-

No comments:

Post a Comment

Got Beef?