MPE/iX Shell and Utilities Reference Manual, Vol 2

sleep(1) MPE/iX Shell and Utilities sleep(1)
NAME
sleep — suspend execution for a specified time
SYNOPSIS
sleep seconds
DESCRIPTION
The sleep command continues running until the specified number of seconds has elapsed.
sleep can delay execution of a program or produce periodic execution in conjunction with
shell commands.
The seconds argument can be either a number of seconds, or a more general time description
of the form nhnmns, with the nh, nm, and the s being optional.
EXAMPLES
sleep 20h10m
sleeps for 20 hours and 10 minutes (or 72600 seconds).
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
2 Failure because you specified no seconds value or because seconds is an invalid argu-
ment (for example, invalid format).
Message
Message: Improper sleep interval specification in "seconds"
Cause: You specified a value for seconds on the command line that contained a charac-
ter other than a digit, h, m,ors.
Action: Specify a value for seconds that does not contain any invalid characters.
Message: Unknown option "–option"
Cause: You specified an option that is not valid for this command.
Action: Check the DESCRIPTIONS section for a list of valid options.
PORTABILITY
POSIX.2. x/OPEN Portability Guide 4.0. All UNIX systems.
MPE/iX NOTES
For information on how the current MPE/iX implementation may affect the operation of this
utility, see Appendix A, MPE/iX Implementation Considerations.
Commands and Utilities 1-557