sleep(C)
sleep --
suspend execution for an interval
Syntax
sleep time
Description
The sleep command 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-osr5),
sleep(S-osr5)
Standards conformance
sleep is conformant with:
ISO/IEC DIS 99452:1992, Information technology Portable Operating System Interface (POSIX) Part 2: Shell and Utilities (IEEE Std 1003.21992);
AT&T SVID Issue 2;
X/Open CAE Specification, Commands and Utilities, Issue 4, 1992.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005