8980 BIOS clock is sometimes one hour fast
[unleashed.git] / usr / src / man / man1m / fmstat.1m
blob5c7c21f7a4f768bca336510ccaf03772077c4efb
1 '\" te
2 .\" Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
4 .\"  See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
5 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH FMSTAT 1M "Jun 16, 2009"
7 .SH NAME
8 fmstat \- report fault management module statistics
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBfmstat\fR [\fB-astTz\fR] [\fB-d\fR u | d ] [\fB-m\fR \fImodule\fR] [\fIinterval\fR [\fIcount\fR]]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 The \fBfmstat\fR utility can be used by administrators and service personnel to
19 report statistics associated with the Solaris Fault Manager, \fBfmd\fR(1M) and
20 its associated set of modules. The Fault Manager runs in the background on each
21 Solaris system. It receives telemetry information relating to problems detected
22 by the system software, diagnoses these problems, and initiates proactive
23 self-healing activities such as disabling faulty components.
24 .sp
25 .LP
26 You can use \fBfmstat\fR to view statistics for diagnosis engines and agents
27 that are currently participating in fault management. The documentation for
28 \fBfmd\fR(1M), \fBfmadm\fR(1M), and \fBfmdump\fR(1M) describes more about tools
29 to observe fault management activities.
30 .sp
31 .LP
32 If the \fB-m\fR option is present or the \fB-t\fR option is present,
33 \fBfmstat\fR reports any statistics kept by the specified fault management
34 module. The module list can be obtained using \fBfmadm config\fR.
35 .sp
36 .LP
37 If the \fB-m\fR option is not present, \fBfmstat\fR reports the following
38 statistics for each of its client modules:
39 .sp
40 .ne 2
41 .na
42 \fB\fBmodule\fR\fR
43 .ad
44 .RS 11n
45 The name of the fault management module, as reported by \fBfmadm config\fR.
46 .RE
48 .sp
49 .ne 2
50 .na
51 \fB\fBev_recv\fR\fR
52 .ad
53 .RS 11n
54 The number of telemetry events received by the module.
55 .RE
57 .sp
58 .ne 2
59 .na
60 \fB\fBev_acpt\fR\fR
61 .ad
62 .RS 11n
63 The number of events accepted by the module as relevant to a diagnosis.
64 .RE
66 .sp
67 .ne 2
68 .na
69 \fB\fBwait\fR\fR
70 .ad
71 .RS 11n
72 The average number of telemetry events waiting to be examined by the module.
73 .RE
75 .sp
76 .ne 2
77 .na
78 \fB\fBsvc_t\fR\fR
79 .ad
80 .RS 11n
81 The average service time for telemetry events received by the module, in
82 milliseconds.
83 .RE
85 .sp
86 .ne 2
87 .na
88 \fB\fB%w\fR\fR
89 .ad
90 .RS 11n
91 The percentage of time that there were telemetry events waiting to be examined
92 by the module.
93 .RE
95 .sp
96 .ne 2
97 .na
98 \fB\fB%b\fR\fR
99 .ad
100 .RS 11n
101 The percentage of time that the module was busy processing telemetry events.
105 .ne 2
107 \fB\fBopen\fR\fR
109 .RS 11n
110 The number of active cases (open problem investigations) owned by the module.
114 .ne 2
116 \fB\fBsolve\fR\fR
118 .RS 11n
119 The total number of cases solved by this module since it was loaded.
123 .ne 2
125 \fB\fBmemsz\fR\fR
127 .RS 11n
128 The amount of dynamic memory currently allocated by this module.
132 .ne 2
134 \fB\fBbufsz\fR\fR
136 .RS 11n
137 The amount of persistent buffer space currently allocated by this module.
142 The \fBfmstat\fR utility requires the user to posses the \fBSYS_CONFIG\fR
143 privilege. Refer to the \fI\fR for more information about how to configure
144 Solaris privileges.
145 .SH OPTIONS
148 The following options are supported:
150 .ne 2
152 \fB\fB-a\fR\fR
154 .RS 13n
155 Print all statistics for a module, including those kept on its behalf by
156 \fBfmd\fR. If the \fB-a\fR option is not present, only those statistics kept by
157 the module are reported. If the \fB-a\fR option is used without the \fB-m\fR
158 \fImodule\fR, a set of global statistics associated with \fBfmd\fR are
159 displayed.
163 .ne 2
165 \fB\fB-d\fR \fBu\fR | \fBd\fR\fR
167 .RS 13n
168 Display a time stamp.
170 Specify \fBu\fR for a printed representation of the internal representation of
171 time. See \fBtime\fR(2). Specify \fBd\fR for standard date format. See
172 \fBdate\fR(1).
176 .ne 2
178 \fB\fB-m\fR \fImodule\fR\fR
180 .RS 13n
181 Print a report on the statistics associated with the specified fault management
182 module, instead of the default statistics report. Modules can publish an
183 arbitrary set of statistics to help Sun service the fault management software
184 itself. The module statistics constitute a Private interface. See
185 \fBattributes\fR(5) for information on Sun's rules for Private interfaces.
186 Scripts should not be written that depend upon the values of fault management
187 module statistics as they can change without notice.
191 .ne 2
193 \fB\fB-s\fR\fR
195 .RS 13n
196 Print a report on Soft Error Rate Discrimination (SERD) engines associated with
197 the module instead of the default module statistics report. A SERD engine is a
198 construct used by fault management software to determine if a statistical
199 threshold measured as \fIN\fR events in some time \fIT\fR has been exceeded.
200 The \fB-s\fR option can only be used in combination with the \fB-m\fR option.
204 .ne 2
206 \fB\fB-t\fR\fR
208 .RS 13n
209 Print a report on the statistics associated with each fault management event
210 transport. Each fault management module can provide the implementation of one
211 or more event transports.
215 .ne 2
217 \fB\fB-T\fR\fR
219 .RS 13n
220 Print a table of the authority information associated with each fault
221 management event transport. If the \fB-m\fR option is present, only transports
222 associated with the specified module are displayed.
226 .ne 2
228 \fB\fB-z\fR\fR
230 .RS 13n
231 Omit statistics with a zero value from the report associated with the specified
232 fault management module. The \fB-z\fR option can only be used in combination
233 with the \fB-m\fR option.
236 .SH OPERANDS
239 The following operands are supported:
241 .ne 2
243 \fB\fIcount\fR\fR
245 .RS 12n
246 Print only count reports, and then exit.
250 .ne 2
252 \fB\fIinterval\fR\fR
254 .RS 12n
255 Print a new report every \fIinterval\fR seconds.
260 If no \fIinterval\fR and no \fIcount\fR are specified, a single report is
261 printed and \fBfmstat\fR exits. If an \fIinterval\fR is specified but no
262 \fIcount\fR is specified, \fBfmstat\fR prints reports every \fIinterval\fR
263 seconds indefinitely until the command is interrupted.
264 .SH EXIT STATUS
267 The following exit values are returned:
269 .ne 2
271 \fB\fB0\fR\fR
273 .RS 5n
274 Successful completion.
278 .ne 2
280 \fB\fB1\fR\fR
282 .RS 5n
283 A fatal error occurred. A fatal error could be the failure to communicate with
284 \fBfmd\fR(1M). It could also be that insufficient privileges were available to
285 perform the requested operation.
289 .ne 2
291 \fB\fB2\fR\fR
293 .RS 5n
294 Invalid command-line options were specified.
297 .SH ATTRIBUTES
300 See \fBattributes\fR(5) for descriptions of the following attributes:
305 box;
306 c | c
307 l | l .
308 ATTRIBUTE TYPE  ATTRIBUTE VALUE
310 Interface Stability     See below.
315 The command-line options are Evolving. The human-readable default report is
316 Unstable. The human-readable module report is Private.
317 .SH SEE ALSO
320 \fBfmadm\fR(1M), \fBfmd\fR(1M), \fBfmdump\fR(1M), \fBattributes\fR(5)
323 \fI\fR