The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

sleep (1)
  • >> sleep (1) ( Solaris man: Команды и прикладные программы пользовательского уровня )
  • sleep (1) ( FreeBSD man: Команды и прикладные программы пользовательского уровня )
  • sleep (1) ( Русские man: Команды и прикладные программы пользовательского уровня )
  • sleep (1) ( Linux man: Команды и прикладные программы пользовательского уровня )
  • sleep (1) ( POSIX man: Команды и прикладные программы пользовательского уровня )
  • sleep (3) ( Solaris man: Библиотечные вызовы )
  • sleep (3) ( FreeBSD man: Библиотечные вызовы )
  • sleep (3) ( Русские man: Библиотечные вызовы )
  • sleep (3) ( Linux man: Библиотечные вызовы )
  • sleep (3) ( POSIX man: Библиотечные вызовы )
  • sleep (9) ( FreeBSD man: Ядро )
  • Ключ sleep обнаружен в базе ключевых слов.
  •  

    NAME

    sleep - suspend execution for an interval
     
    

    SYNOPSIS

     

    /usr/bin/sleep

    /usr/bin/sleep time
    

     

    ksh93

    sleep time
    

     

    DESCRIPTION

     

    /usr/bin/sleep

    sleep suspends execution for at least the integral number of seconds specified by time.  

    ksh93

    sleep suspends execution for at least the time in seconds specified by time or until a SIGALRM signal is received.  

    OPERANDS

     

    /usr/bin/sleep

    The following operands are supported for /usr/bin/sleep:

    time

    time in seconds can be specified as a non-negative decimal integer number.

     

    ksh93

    The following operands are supported:

    time

    Specify time in seconds as a floating point number. The actual granularity depends on the underlying system, normally around 1 millisecond.

     

    EXAMPLES

    Example 1 Suspending Command Execution

    The following example executes a command after a certain amount of time:

    example% (sleep 105; command)&
    

    Example 2 Executing a Command Every So Often

    The following example executes a command every so often:

    example% while true
    do
           command
           sleep 37
    done
    

     

    ENVIRONMENT VARIABLES

    See environ(5) for descriptions of the following environment variables that affect the execution of sleep: LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and NLSPATH.  

    EXIT STATUS

    The 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.

     

    ATTRIBUTES

    See attributes(5) for descriptions of the following attributes:  

    /usr/bin/sleep

    ATTRIBUTE TYPEATTRIBUTE VALUE

    AvailabilitySUNWcsu

    Interface Stability

    Standard

     

    ksh93

    ATTRIBUTE TYPEATTRIBUTE VALUE

    AvailabilitySUNWcsu

    Interface Stability

     

    SEE ALSO

    ksh93(1), wait(1), alarm(2), sleep(3C), wait(3UCB), attributes(5), environ(5), standards(5)  

    NOTES

    If the sleep utility receives a SIGALRM signal, one of the following actions is taken:

    o Terminate normally with a zero exit status.
    o Effectively ignore the signal.

    The sleep utility takes the standard action for all other signals.


     

    Index

    NAME
    SYNOPSIS
    /usr/bin/sleep
    ksh93
    DESCRIPTION
    /usr/bin/sleep
    ksh93
    OPERANDS
    /usr/bin/sleep
    ksh93
    EXAMPLES
    ENVIRONMENT VARIABLES
    EXIT STATUS
    ATTRIBUTES
    /usr/bin/sleep
    ksh93
    SEE ALSO
    NOTES


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру