02.07.2013 Views

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

lockd(IM) lockd(IM)<br />

NAME<br />

lockd - process network lock daemon<br />

SYNOPSIS<br />

/ etc/ rpc .lockd [ -t timeout] [ -g grace period ]<br />

DESCRIPTION<br />

lockd is a network lock daemon that processes lock requests that<br />

are sent either locally by the kernel or remotely by another lock<br />

daemon. lockd forwards lock requests for remote data to the<br />

lock daemon at the server site through the RPC/XDR package.<br />

lockd then requests the status monitor daemon, statd(<strong>1M</strong>), for<br />

monitor service. The reply to the lock request is not sent to the<br />

kernel until the status monitor daemon <strong>and</strong> the lock daemon at the<br />

server site replies.<br />

If either the status monitor daemon or the lock daemon at the<br />

server site is unavailable, the reply to a lock request for remote<br />

data is delayed until all daemons become available.<br />

When a server recovers, it waits for a grace period for each<br />

lockd at a client site to submit reclaim requests. Each lockd at<br />

a client site, on the other h<strong>and</strong>, is notified by the s tat d of the<br />

server recovery <strong>and</strong> promptly resubmits a previously granted lock<br />

request. If lockd fails to secure a previously granted lock at the<br />

server site, lockd sends SIGTERM to a process.<br />

FLAG OPTIONS<br />

The following flag options are interpreted by lockd:<br />

-t timeout Use timeout (seconds) as the interval instead of the<br />

default value (15 seconds) to retransmit a lock request<br />

to the remote server.<br />

-g grace period<br />

Use grace period (seconds) as the grace period duration<br />

instead of the default value (45 seconds).<br />

SEE ALSO<br />

fcntl(2), lockf(3), signal(3), statd(IM).<br />

February, 1990<br />

RevisionC<br />

I

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!