Query: sleep
OS: sunos
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
sleep(1) User Commands sleep(1)NAMEsleep - suspend execution for an intervalSYNOPSISsleep timeDESCRIPTIONThe sleep utility will suspend execution for at least the integral number of seconds specified by the time operand.OPERANDSThe following operands are supported: time A non-negative decimal integer specifying the number of seconds for which to suspend execution.EXAMPLESExample 1: Suspending command execution for a time To execute a command after a certain amount of time: example% (sleep 105; command)& Example 2: Executing a command every so often example% while true do command sleep 37 doneENVIRONMENT VARIABLESSee environ(5) for descriptions of the following environment variables that affect the execution of sleep: LANG, LC_ALL, LC_CTYPE, LC_MES- SAGES, and NLSPATH.EXIT STATUSThe following exit values are returned: 0 The execution was successfully suspended for at least time seconds, or a SIGALRM signal was received (see NOTES). >0 An error has occurred.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+SEE ALSOwait(1), alarm(2), sleep(3C), wait(3UCB), attributes(5), environ(5), standards(5)NOTESIf the sleep utility receives a SIGALRM signal, one of the following actions will be taken: o Terminate normally with a zero exit status. o Effectively ignore the signal. The sleep utility will take the standard action for all other signals. SunOS 5.10 1 Feb 1995 sleep(1)
Related Man Pages |
---|
sleep(1) - opensolaris |
sleep(1) - osf1 |
sleep(1) - netbsd |
sleep(3ucb) - sunos |
sleep(3ucb) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
specifying an execution time |
Which is more efficient - sleep or infinite while? |
Floating point argument for sleep command in Unix |
Sleep command |
1000 sleep commands on a Linux Server impact? |