clear_locks(1M) System Administration Commands clear_locks(1M)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 TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO fcntl(2), attributes(5)SunOS 5.10 6 Oct 2004 clear_locks(1M)
Check Out this Related Man Page
clear_locks(1M) System Administration Commands clear_locks(1M)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 TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO fcntl(2), attributes(5)SunOS 5.10 6 Oct 2004 clear_locks(1M)
Hi,
i'm having issues with one of my db servers,
each time i run the hostname command i get "-a" as result
this is the only zone on this server where i have this issue.
could any one help me with this issue (5 Replies)
Hello i'm trying to get the ip of a telnet session.
With who -u I get the hostname of the user connecting to my server, because it checks the reverse DNS. But I only want the ip.
Versions: HP-UX HP Release B.11.31
Who command: Hewlett-Packard Company - 4 - HP-UX 11i Version... (2 Replies)