caffeinate(8) BSD System Manager's Manual caffeinate(8)
NAME
caffeinate -- prevent the system from sleeping on behalf of a utility
SYNOPSIS
caffeinate [-disb] [utility] [argument ...]
DESCRIPTION
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 dura-
tion of the utility's execution. Otherwise, caffeinate creates the asser-
tions directly, and those assertions will persist until caffeinate exits.
Available options:
-d Create an assertion to prevent the display from sleeping.
-i Create an assertion to prevent the system from idle sleeping.
-s Create an assertion to prevent the system from sleeping. By
default, this assertion is valid only when system is running on
AC power. If -b flag is also specified, then the system is pre-
vented from sleeping even when running on battery power.
LOCATION
/usr/bin/caffeinate
Darwin February 25, 2010 Darwin
Mac OS X 10.7 - Generated Mon Sep 5 09:04:25 CDT 2011
