The OpenNET Project / Index page

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

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

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

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

    NAME

    clear_locks - clear locks held on
    behalf of an NFS client
     
    

    SYNOPSIS

    /usr/sbin/clear_locks [-s] hostname
    

     

    DESCRIPTION

    The clear_locks command removes all file, record, and share locks created by the hostname and held on the current host, regardless of which process created or owns the locks.

    This command can be run only by the super-user.

    This command should only be used to repair the rare case of a client crashing and failing to clear held locks. Clearing locks held by an active client may cause applications to fail in an unexpected manner.  

    OPTIONS

    -s

    Remove all locks created by the current machine and held by the server hostname.

     

    OPERANDS

    The following operands are supported:

    hostname

    name of host server

     

    EXIT STATUS

    0

    Successful operation.

    1

    If not root.

    2

    Usage error.

    3

    If unable to contact server (RPC).

     

    ATTRIBUTES

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

    ATTRIBUTE TYPEATTRIBUTE VALUE

    AvailabilitySUNWcsu

     

    SEE ALSO

    fcntl(2), attributes(5)


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    OPTIONS
    OPERANDS
    EXIT STATUS
    ATTRIBUTES
    SEE ALSO


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




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

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