clear_locks man page on HP-UX

Printed from http://www.polarhome.com/service/man/?qf=clear_locks&af=0&tf=2&of=HP-UX

clear_locks(1M)						       clear_locks(1M)

NAME
       clear_locks - clear locks held on behalf of an NFS client

SYNOPSIS
       hostname

DESCRIPTION
       The  command  removes  all file, record, and share locks created by the
       hostname and held on the current host, regardless of which process cre‐
       ated 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
       Remove all locks created by the current machine and held by the server,
		      hostname.	 hostname is the name of host server.

EXIT STATUS
       returns:

       0  Successful operation.

       1  If not root.

       2  Usage error.

       3  If unable to contact server (RPC).

EXAMPLES
       Remove all locks on local NFS server for client, client1:

       Remove  all  locks  created  by the local client system and held by the
       remote NFS server, server1:

SEE ALSO
       lockd(1M), statd(1M).

							       clear_locks(1M)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net