1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
|
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved
.\" 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. 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 the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH NDMPSTAT 1M "Jun 21, 2007"
.SH NAME
ndmpstat \- show NDMP backup progress statistics
.SH SYNOPSIS
.LP
.nf
\fBndmpstat\fR [\fItapes\fR] [\fIinterval\fR [\fIcount\fR]]
.fi
.SH DESCRIPTION
.sp
.LP
The \fBndmpstat\fR utility reports Network Data Management Protocol (NDMP)
statistics, among which are NDMP worker threads, disk IO, tape IO, files
operation, performance, and backup activity.
.sp
.LP
\fBndmpstat\fR reports the aggregate statistics for all tapes and disks. In
order to obtain statistics for specific tape devices, the tape device name
should be passed as argument to the utility.
.sp
.LP
When invoked, \fBndmpstat\fR begins its display with a one-line summary of the
NDMP daemon activity since the NDMP service was invoked.
.SS "Display Fields"
.sp
.LP
The fields in \fBndmpstat\fR output are described as follows:
.sp
.ne 2
.na
\fB\fBwthr\fR\fR
.ad
.sp .6
.RS 4n
Report the number of worker threads in each of the four following states:
.sp
.ne 2
.na
\fB\fBr\fR\fR
.ad
.sp .6
.RS 4n
the number of worker threads running
.RE
.sp
.ne 2
.na
\fB\fBw\fR\fR
.ad
.sp .6
.RS 4n
the number of blocked worker threads that are waiting for resources such as I/O
and paging
.RE
.sp
.ne 2
.na
\fB\fBb\fR\fR
.ad
.sp .6
.RS 4n
the number of backup operations currently running
.RE
.sp
.ne 2
.na
\fB\fBr\fR\fR
.ad
.sp .6
.RS 4n
the number of restore operations currently running
.RE
.RE
.sp
.ne 2
.na
\fB\fBfile\fR\fR
.ad
.sp .6
.RS 4n
Report on usage of filesystem.
.sp
.ne 2
.na
\fB\fBrd\fR\fR
.ad
.sp .6
.RS 4n
the number of files being read
.RE
.sp
.ne 2
.na
\fB\fBwr\fR\fR
.ad
.sp .6
.RS 4n
the number of files being written
.RE
.RE
.sp
.ne 2
.na
\fB\fBdisk\fR\fR
.ad
.sp .6
.RS 4n
Report the number of disk operations per interval.
.sp
.ne 2
.na
\fB\fBrd\fR\fR
.ad
.sp .6
.RS 4n
the number of disk blocks being read
.RE
.sp
.ne 2
.na
\fB\fBwr\fR\fR
.ad
.sp .6
.RS 4n
the number of disk blocks being written
.RE
.RE
.sp
.ne 2
.na
\fB\fBtape\fR\fR
.ad
.sp .6
.RS 4n
Report the number of tape operations per interval. There are slots for up to
four tapes, labeled with a single number. The number indicates the name of the
device under \fB/dev/rmt\fR.
.sp
.ne 2
.na
\fB\fBrd\fR\fR
.ad
.sp .6
.RS 4n
the number of tape blocks being read
.RE
.sp
.ne 2
.na
\fB\fBwr\fR\fR
.ad
.sp .6
.RS 4n
the number of tape blocks being written
.RE
.RE
.sp
.ne 2
.na
\fB\fBbytes\fR\fR
.ad
.sp .6
.RS 4n
Report the number of bytes transferred. This is the aggregate value of both
tape and disk devices. The number is in kilobytes.
.sp
.ne 2
.na
\fB\fBrd\fR\fR
.ad
.sp .6
.RS 4n
the number of kilobytes being read
.RE
.sp
.ne 2
.na
\fB\fBwr\fR\fR
.ad
.sp .6
.RS 4n
the number of kilobytes being written
.RE
.RE
.sp
.ne 2
.na
\fB\fBperf\fR\fR
.ad
.sp .6
.RS 4n
Displays a rough estimate of performance of the backup/restore operation in
megabytes per second.
.sp
.ne 2
.na
\fB\fBbk\fR\fR
.ad
.sp .6
.RS 4n
backup performance
.RE
.sp
.ne 2
.na
\fB\fBrs\fR\fR
.ad
.sp .6
.RS 4n
restore performance
.RE
.RE
.sp
.ne 2
.na
\fB\fBprcnt\fR\fR
.ad
.sp .6
.RS 4n
Display the comparative usage of resources, in percent.
.sp
.ne 2
.na
\fB\fBdsk\fR\fR
.ad
.sp .6
.RS 4n
disk I/O time
.RE
.sp
.ne 2
.na
\fB\fBtpe\fR\fR
.ad
.sp .6
.RS 4n
tape I/O time
.RE
.sp
.ne 2
.na
\fB\fBotr\fR\fR
.ad
.sp .6
.RS 4n
other time (memory or idle)
.RE
.RE
.sp
.LP
See \fBEXAMPLES\fR.
.SH OPERANDS
.sp
.LP
The following operands are supported:
.sp
.ne 2
.na
\fB\fIcount\fR\fR
.ad
.RS 12n
Specifies the number of times that the statistics display is repeated.
.RE
.sp
.ne 2
.na
\fB\fItape\fR\fR
.ad
.RS 12n
Specifies which tapes are to be given priority in the output. A command line is
limited to a maximum of four tape devices. A common tape name is
\fB/dev/rmt/\fR\fIn\fR, where \fIn\fR is an integer.
.RE
.sp
.ne 2
.na
\fB\fIinterval\fR\fR
.ad
.RS 12n
Specifies the number of seconds over which \fBndmpstat\fR summarizes activity.
The specified interval remains in effect till the command is terminated.
.RE
.SH EXAMPLES
.LP
\fBExample 1 \fRUsing \fBndmpstat\fR
.sp
.LP
The following command displays a summary of NDMP daemon activity at five-second
intervals.
.sp
.in +2
.nf
example% \fBndmpstat 5\fR
wthr file disk tape bytes perf prcnt
r w b r rd wr rd wr rd wr rd wr bk rs dsk tpe otr
1 0 3 6 50 9 1250 0 32544 4455 42335 3234 5 4 20 40 40
1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20
1 0 0 1 2 0 128 0 0 0 64 0 1 0 80 0 20
1 0 0 1 1 0 128 0 0 0 64 0 1 0 80 0 20
1 0 0 1 3 0 128 0 0 0 64 0 0 0 80 0 20
1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20
^C
example%
.fi
.in -2
.sp
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
box;
c | c
l | l .
ATTRIBUTE TYPE ATTRIBUTE VALUE
_
Interface Stability See below
.TE
.sp
.LP
Invocation is evolving. Human readable output is unstable.
.SH SEE ALSO
.sp
.LP
\fBiostat\fR(1M), \fBmpstat\fR(1M), \fBndmpd\fR(1M), \fBndmpadm\fR(1M),
\fBattributes\fR(5)
.SH NOTES
.sp
.LP
Performance numbers are not accurate and are rounded up at the MB/sec.
boundary.
|