The OpenNET Project / Index page

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

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

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

watch (8)
  • watch (1) ( Русские man: Команды и прикладные программы пользовательского уровня )
  • watch (1) ( Linux man: Команды и прикладные программы пользовательского уровня )
  • >> watch (8) ( FreeBSD man: Команды системного администрирования )

  • BSD mandoc
     

    NAME

    
    
    watch
    
     - snoop on another tty line
    
     
    

    SYNOPSIS

    [-cinotW ] [-f snpdev ] [tty ]  

    DESCRIPTION

    The utility allows the user to examine all data coming through a specified tty using the snp(4) device. If the snp(4) device is not available, will attempt to load the module (snp ) The utility writes to standard output.

    The options are as follows:

    -c
    Reconnect on close. If the tty observed by is closed, automatically reattach to the same tty. If this option is not specified, will request a new tty if running in interactive mode or exit if running without a controlling tty.
    -f snpdev
    If this option is specified, will use snpdev as the snp(4) device. Without this option, will attempt to find the next available snp(4) device.
    -i
    Force interactive mode. Interactive mode is a default if is started from a tty. If output is redirected to a file, interactive mode can still be requested by specifying this option.
    -n
    Disable the ability to switch the watched tty interactively. This disables both change requests made with <control-X> as well as automatic prompting when the current tty is closed or overflows. In all cases where a prompt would be displayed, will exit. The reconnect flags are unaffected by this option. When this flag is used, <control-X> is passed through to the terminal.
    -o
    Reconnect on overflow. The behavior of if the observed tty overflows is similar to the behavior if the observed tty is closed. For more info see snp(4).
    -t
    Print the date and time when observation of a given tty is started.
    -W
    Allow write access to observed tty.
    tty
    Tty may be specified as a tty-style device, such as a pseudo tty device, a virtual console, or a serial line, etc. Names may be preceded by /dev/

     

    OPERATION

    While running in interactive mode, all user input is discarded except for:

    <control-G>
    Exit .
    <control-W>
    Clear screen.
    <control-X>
    Change attached tty, unless this feature is disabled, in which case control-X is passed to the terminal as with other control characters.

     

    SEE ALSO

    pty(4), sio(4), snp(4), kldload(8)  

    HISTORY

    The utility first appeared in Fx 2.1 .  

    AUTHORS

    An Ugen J.S. Antsilevich Aq ugen@NetVision.net.il  

    BUGS

    No terminal emulation is performed. All user output is reproduced as-is.


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    OPERATION
    SEE ALSO
    HISTORY
    AUTHORS
    BUGS


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




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

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