lockd.8c
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 8C 代码 · 共 74 行
8C
74 行
.TH lockd 8c.SH Namelockd \- network lock daemon.SH Syntax.B /usr/etc/lockd [.B \-t.I timeout] [.B \-g.I graceperiod].NXR "lock" "daemon".NXR "network" "lock daemon".SH DescriptionThe.PN lockddaemon processes lock requests that are eithersent locally by the kernel or remotely by another lock daemon.The NFS locking service makes this advisory locking supportpossible by using the.PN fcntlsystem call and the.PN lockfsubroutine.The.PN lockd daemon forwards lock requests for remote data to the server site's lock daemon.The.PN lockd daemon then requests the status monitor daemon,.PN statd ,for monitor service.The reply to the lock request is not sent to the kernel until the status daemon and the server site'slock daemon have replied..PPIf either the status monitor or server site's lock daemon is unavailable,the reply to a lock request for remote data is delayed until all daemons become available. .PPWhen a server recovers, it waits for a grace period for all client site.PN lockddaemons to submit reclaim requests. Client site.PN lockddaemons are notified by.PN statdof the server recovery and promptly resubmit previouslygranted lock requests. If a client site's.PN lockddaemon fails to secure previously granted locks at the server site, the.PN lockddaemon sends the signal SIGLOST to all the processes that were previously holding locks and cannot reclaim them..SH Options.IP "\fB\-t \fItimeout\fR" 16The.PN lockddaemon uses \fItimeout\fP (in seconds) as the interval instead of the default value of 15 seconds to retransmit a lockrequest to the remote server..IP "\fB\-g \fIgraceperiod\fR"The.PN lockddaemon uses \fIgraceperiod\fP (in seconds) as the grace period durationinstead of the default value of 45 seconds..SH See Alsofcntl(2), lockf(3), signal(3), statd(8c)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?