1ndmpstat(1M) System Administration Commands ndmpstat(1M)
2
3
4
6 ndmpstat - show NDMP backup progress statistics
7
9 ndmpstat [tapes] [interval [count]]
10
11
13 The ndmpstat utility reports Network Data Management Protocol (NDMP)
14 statistics, among which are NDMP worker threads, disk IO, tape IO,
15 files operation, performance, and backup activity.
16
17
18 ndmpstat reports the aggregate statistics for all tapes and disks. In
19 order to obtain statistics for specific tape devices, the tape device
20 name should be passed as argument to the utility.
21
22
23 When invoked, ndmpstat begins its display with a one-line summary of
24 the NDMP daemon activity since the NDMP service was invoked.
25
26 Display Fields
27 The fields in ndmpstat output are described as follows:
28
29 wthr
30
31 Report the number of worker threads in each of the four following
32 states:
33
34 r
35
36 the number of worker threads running
37
38
39 w
40
41 the number of blocked worker threads that are waiting for
42 resources such as I/O and paging
43
44
45 b
46
47 the number of backup operations currently running
48
49
50 r
51
52 the number of restore operations currently running
53
54
55
56 file
57
58 Report on usage of filesystem.
59
60 rd
61
62 the number of files being read
63
64
65 wr
66
67 the number of files being written
68
69
70
71 disk
72
73 Report the number of disk operations per interval.
74
75 rd
76
77 the number of disk blocks being read
78
79
80 wr
81
82 the number of disk blocks being written
83
84
85
86 tape
87
88 Report the number of tape operations per interval. There are slots
89 for up to four tapes, labeled with a single number. The number
90 indicates the name of the device under /dev/rmt.
91
92 rd
93
94 the number of tape blocks being read
95
96
97 wr
98
99 the number of tape blocks being written
100
101
102
103 bytes
104
105 Report the number of bytes transferred. This is the aggregate value
106 of both tape and disk devices. The number is in kilobytes.
107
108 rd
109
110 the number of kilobytes being read
111
112
113 wr
114
115 the number of kilobytes being written
116
117
118
119 perf
120
121 Displays a rough estimate of performance of the backup/restore
122 operation in megabytes per second.
123
124 bk
125
126 backup performance
127
128
129 rs
130
131 restore performance
132
133
134
135 prcnt
136
137 Display the comparative usage of resources, in percent.
138
139 dsk
140
141 disk I/O time
142
143
144 tpe
145
146 tape I/O time
147
148
149 otr
150
151 other time (memory or idle)
152
153
154
155
156 See EXAMPLES.
157
159 The following operands are supported:
160
161 count Specifies the number of times that the statistics display
162 is repeated.
163
164
165 tape Specifies which tapes are to be given priority in the out‐
166 put. A command line is limited to a maximum of four tape
167 devices. A common tape name is /dev/rmt/n, where n is an
168 integer.
169
170
171 interval Specifies the number of seconds over which ndmpstat summa‐
172 rizes activity. The specified interval remains in effect
173 till the command is terminated.
174
175
177 Example 1 Using ndmpstat
178
179
180 The following command displays a summary of NDMP daemon activity at
181 five-second intervals.
182
183
184 example% ndmpstat 5
185 wthr file disk tape bytes perf prcnt
186 r w b r rd wr rd wr rd wr rd wr bk rs dsk tpe otr
187 1 0 3 6 50 9 1250 0 32544 4455 42335 3234 5 4 20 40 40
188 1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20
189 1 0 0 1 2 0 128 0 0 0 64 0 1 0 80 0 20
190 1 0 0 1 1 0 128 0 0 0 64 0 1 0 80 0 20
191 1 0 0 1 3 0 128 0 0 0 64 0 0 0 80 0 20
192 1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20
193 ^C
194 example%
195
196
197
199 See attributes(5) for descriptions of the following attributes:
200
201
202
203
204 ┌─────────────────────────────┬─────────────────────────────┐
205 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
206 ├─────────────────────────────┼─────────────────────────────┤
207 │Availability │SUNWndmpu │
208 ├─────────────────────────────┼─────────────────────────────┤
209 │Interface Stability │See below │
210 └─────────────────────────────┴─────────────────────────────┘
211
212
213 Invocation is evolving. Human readable output is unstable.
214
216 iostat(1M), mpstat(1M), ndmpd(1M), ndmpadm(1M), attributes(5)
217
219 Performance numbers are not accurate and are rounded up at the MB/sec.
220 boundary.
221
222
223
224SunOS 5.11 21 Jun 2007 ndmpstat(1M)