SLEEP(C) UNIX System V
Name
sleep - suspends execution for an interval
Syntax
sleep time
Description
sleep suspends execution for time seconds. It is used to
execute a command after a certain amount of time as in:
(sleep 105; command)&
or to execute a command every so often, as in:
while true
do
command
sleep 37
done
See Also
alarm(S), sleep(S)
Notes
It is recommended that time be less than 65536 seconds. If
this amount is exceeded, time will be arbitrarily set to
some value less than 65536 seconds.
Standards Conformance
sleep is conformant with:
AT&T SVID Issue 2, Select Code 307-127;
and The X/Open Portability Guide II of January 1987.
(printed 8/24/89) SLEEP(C)