1statd(1M) System Administration Commands statd(1M)
2
3
4
6 statd - network status monitor
7
9 /usr/lib/nfs/statd
10
11
13 statd is an intermediate version of the status monitor. It interacts
14 with lockd(1M) to provide the crash and recovery functions for the
15 locking services on NFS. statd keeps track of the clients with pro‐
16 cesses which hold locks on a server. When the server reboots after a
17 crash, statd sends a message to the statd on each client indicating
18 that the server has rebooted. The client statd processes then inform
19 the lockd on the client that the server has rebooted. The client lockd
20 then attempts to reclaim the lock(s) from the server.
21
22
23 statd on the client host also informs the statd on the server(s) hold‐
24 ing locks for the client when the client has rebooted. In this case,
25 the statd on the server informs its lockd that all locks held by the
26 rebooting client should be released, allowing other processes to lock
27 those files.
28
29
30 lockd is started by automountd(1M), mount_nfs(1M), and share(1M) if NFS
31 automounts are needed.
32
34 /var/statmon/sm
35
36 lists hosts and network addresses to be contacted after a reboot
37
38
39 /var/statmon/sm.bak
40
41 lists hosts and network addresses that could not be contacted after
42 last reboot
43
44
45 /var/statmon/state
46
47 includes a number which changes during a reboot
48
49
50 /usr/include/rpcsvc/sm_inter.x
51
52 contains the rpcgen source code for the interface services provided
53 by the statd daemon.
54
55
57 See attributes(5) for descriptions of the following attributes:
58
59
60
61
62 ┌─────────────────────────────┬─────────────────────────────┐
63 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
64 ├─────────────────────────────┼─────────────────────────────┤
65 │Availability │SUNWnfscu │
66 └─────────────────────────────┴─────────────────────────────┘
67
69 svcs(1), automountd(1M), lockd(1M), mount_nfs(1M), share(1M),
70 svcadm(1M), attributes(5), smf(5)
71
72
73
74
76 The crash of a server is only detected upon its recovery.
77
78
79 The statd service is managed by the service management facility,
80 smf(5), under the service identifier:
81
82 svc:/network/nfs/status
83
84
85
86
87 Administrative actions on this service, such as enabling, disabling, or
88 requesting restart, can be performed using svcadm(1M). The service's
89 status can be queried using the svcs(1) command.
90
91
92 If it is disabled, it will be enabled by mount_nfs(1M), share_nfs(1M),
93 and automountd(1M) unless its application/auto_enable property
94 is set to false.
95
96
97
98SunOS 5.11 18 Nov 2004 statd(1M)