CAFFEINATE(8) | System Manager's Manual | CAFFEINATE(8) |
caffeinate
—
prevent the system from sleeping on behalf of a
utility
caffeinate |
[-disu ] [-t timeout]
[-w pid] [utility
arguments...] |
caffeinate
creates assertions to alter
system sleep behavior. If no assertion flags are specified,
caffeinate
creates an assertion to prevent idle
sleep. If a utility is specified, caffeinate
creates
the assertions on the utility's behalf, and those assertions will persist
for the duration of the utility's execution. Otherwise,
caffeinate
creates the assertions directly, and
those assertions will persist until caffeinate
exits.
Available options:
-d
-i
-m
-s
-u
-t
-w
caffeinate
-i
make
caffeinate
forks a process, execs "make" in
it, and holds an assertion that prevents idle sleep as long as that process
is running.
/usr/bin/caffeinate
November 9, 2012 | Darwin |