Shared access to Mac OS X: how to manage wakeonlan and sleep

Rainer Müller raimue at macports.org
Tue Jul 7 00:27:29 PDT 2009


On 2009-07-07 00:47 , Jean-Michel Pouré wrote:
> * How can I manage sleep so that it is triggered after an SSH
> disconnection and let's say 30 minutes of inactivity.
> * When using screen, I would like to be sure that the Mac does not go to
> sleep.

I don't know any way how to prevent the Mac going to sleep while there
is SSH activity.

The tool pmset offers various controls for power management. The command
'pmset noidle' prevents sleep mode for the time it is running. This
could probably be helpful.

Rainer


More information about the macports-dev mailing list