cpuAwake - Keep the CPU awake (veto sleep mode), or schedule a wakeup in the future.SYNOPSIS
DEFAULTScpuAwake [when] [howLong] [-r rqstID] [nodeHost][when] - seconds in the future to schedule the CPU to wake up. 0 (zero) specifies now. [howLong] - number of seconds you need the CPU awake [-r rqstID] - requestor ID. Defaults to 1, the user ID [nodeHost] - node you want awake. Defaults to "localhost".
when = 0 (stay awake starting now)DESCRIPTION
howLong = 600 (10 minutes)
rqstID = 1 (the user ID)
nodeHost = "localhost"
The cpuAwake utility can be used to keep the CPU awake (when = 0), or to schedule a wakeup in the future. Note that all parameters have defaults, so if you just type "cpuAwake", it will keep the CPU awake for 10 minutes.EXAMPLESIf you provide just one number, it assumes you've specified "howLong", and the "when" is 0 (now). Thus, "cpuAwake 120" will keep the CPU awake for 2 minutes.
The [-r rqstID] parameter allows the use of separate wakeup requests. Unlike lease, which gives you a new lease every time you call it, cpuAwake defaults to working on the single user request. Any subsequent calls to cpuAwake override the previous invocation. However, the [-r rqstID] allows operation on different requests. It's used mostly by system shell scripts, to allow them to issue separate requests from the user.
"cpuAwake" - keep the CPU awake for 10 minutes starting now."cpuAwake 120" - keep the CPU awake for 2 minutes starting now.
"cpuAwake 60 120" - schedule a wakeup for 1 minute from now, then keep the CPU awake for 2 minutes.
"cpuAwake 0" - cancel any previous "cpuAwake"s, allowing the CPU sleep schedule to resume its normal cycle.
ENVIRONMENT
This utiltity does not depend on any environment variables.
SEE ALSO
lease