2 .\" Copyright (c) 2007, 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.
4 .\" 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.
5 .\" 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]
6 .TH NDMPSTAT 8 "Jun 21, 2007"
8 ndmpstat \- show NDMP backup progress statistics
12 \fBndmpstat\fR [\fItapes\fR] [\fIinterval\fR [\fIcount\fR]]
18 The \fBndmpstat\fR utility reports Network Data Management Protocol (NDMP)
19 statistics, among which are NDMP worker threads, disk IO, tape IO, files
20 operation, performance, and backup activity.
23 \fBndmpstat\fR reports the aggregate statistics for all tapes and disks. In
24 order to obtain statistics for specific tape devices, the tape device name
25 should be passed as argument to the utility.
28 When invoked, \fBndmpstat\fR begins its display with a one-line summary of the
29 NDMP daemon activity since the NDMP service was invoked.
33 The fields in \fBndmpstat\fR output are described as follows:
41 Report the number of worker threads in each of the four following states:
49 the number of worker threads running
59 the number of blocked worker threads that are waiting for resources such as I/O
70 the number of backup operations currently running
80 the number of restore operations currently running
92 Report on usage of filesystem.
100 the number of files being read
110 the number of files being written
122 Report the number of disk operations per interval.
130 the number of disk blocks being read
140 the number of disk blocks being written
152 Report the number of tape operations per interval. There are slots for up to
153 four tapes, labeled with a single number. The number indicates the name of the
154 device under \fB/dev/rmt\fR.
162 the number of tape blocks being read
172 the number of tape blocks being written
184 Report the number of bytes transferred. This is the aggregate value of both
185 tape and disk devices. The number is in kilobytes.
193 the number of kilobytes being read
203 the number of kilobytes being written
215 Displays a rough estimate of performance of the backup/restore operation in
216 megabytes per second.
246 Display the comparative usage of resources, in percent.
274 other time (memory or idle)
285 The following operands are supported:
292 Specifies the number of times that the statistics display is repeated.
301 Specifies which tapes are to be given priority in the output. A command line is
302 limited to a maximum of four tape devices. A common tape name is
303 \fB/dev/rmt/\fR\fIn\fR, where \fIn\fR is an integer.
312 Specifies the number of seconds over which \fBndmpstat\fR summarizes activity.
313 The specified interval remains in effect till the command is terminated.
318 \fBExample 1 \fRUsing \fBndmpstat\fR
321 The following command displays a summary of NDMP daemon activity at five-second
327 example% \fBndmpstat 5\fR
328 wthr file disk tape bytes perf prcnt
329 r w b r rd wr rd wr rd wr rd wr bk rs dsk tpe otr
330 1 0 3 6 50 9 1250 0 32544 4455 42335 3234 5 4 20 40 40
331 1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20
332 1 0 0 1 2 0 128 0 0 0 64 0 1 0 80 0 20
333 1 0 0 1 1 0 128 0 0 0 64 0 1 0 80 0 20
334 1 0 0 1 3 0 128 0 0 0 64 0 0 0 80 0 20
335 1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20
345 See \fBattributes\fR(5) for descriptions of the following attributes:
353 ATTRIBUTE TYPE ATTRIBUTE VALUE
355 Interface Stability See below
360 Invocation is evolving. Human readable output is unstable.
364 \fBiostat\fR(8), \fBmpstat\fR(8), \fBndmpd\fR(8), \fBndmpadm\fR(8),
369 Performance numbers are not accurate and are rounded up at the MB/sec.