6324 Add an `ndp' tool for manipulating the neighbors table
[illumos-gate.git] / usr / src / man / man1m / arcstat.1m
blobe4a0eca43ef69446f8b47800a77481c87d93c852
1 .\"
2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
5 .\" 1.0 of the CDDL.
6 .\"
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source.  A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
10 .\"
11 .\"
12 .\" Copyright 2014 Adam Stevko.  All rights reserved.
13 .\"
14 .TH ARCSTAT 1M "Feb 4, 2014"
15 .SH NAME
16 arcstat \- report ZFS ARC and L2ARC statistics
17 .SH SYNOPSIS
18 .LP
19 .nf
20 \fBarcstat\fR [\fB-hvxr\fR] [\fB-f field[,field]...\fR] [\fB-o file\fR] [\fB-s string\fR] 
21       [\fBinterval\fR [\fBcount\fR]]
22 .fi
24 .SH DESCRIPTION
25 .sp
26 .LP
27 The \fBarcstat\fR utility print various ZFS ARC and L2ARC statistics in
28 vmstat-like fashion.
29 .sp
31 .sp
32 .LP
33 The \fBarcstat\fR command reports the following information:
34 .sp
35 .ne 2
37 .\"
38 .sp
39 .ne 1 
40 .na
41 \fBc \fR
42 .ad
43 .RS 14n
44 ARC Target Size
45 .RE
47 .sp
48 .ne 2
49 .na
50 \fBdh% \fR
51 .ad
52 .RS 14n
53 Demand Data hit percentage
54 .RE
56 .sp
57 .ne 2
58 .na
59 \fBdm% \fR
60 .ad
61 .RS 14n
62 Demand Data miss percentage
63 .RE
65 .sp
66 .ne 2
67 .na
68 \fBmfu \fR
69 .ad
70 .RS 14n
71 MFU List hits per second
72 .RE
74 .sp
75 .ne 2
76 .na
77 \fBmh% \fR
78 .ad
79 .RS 14n
80 Metadata hit percentage
81 .RE
83 .sp
84 .ne 2
85 .na
86 \fBmm% \fR
87 .ad
88 .RS 14n
89 Metadata miss percentage
90 .RE
92 .sp
93 .ne 2
94 .na
95 \fBmru \fR
96 .ad
97 .RS 14n
98 MRU List hits per second
99 .RE
102 .ne 2
104 \fBph% \fR
106 .RS 14n
107 Prefetch hits percentage
111 .ne 2
113 \fBpm% \fR
115 .RS 14n
116 Prefetch miss percentage
120 .ne 2
122 \fBdhit \fR
124 .RS 14n
125 Demand Data hits per second
129 .ne 2
131 \fBdmis \fR
133 .RS 14n
134 Demand Data misses per second
138 .ne 2
140 \fBhit% \fR
142 .RS 14n
143 ARC Hit percentage
147 .ne 2
149 \fBhits \fR
151 .RS 14n
152 ARC reads per second
156 .ne 2
158 \fBmfug \fR
160 .RS 14n
161 MFU Ghost List hits per second
165 .ne 2
167 \fBmhit \fR
169 .RS 14n
170 Metadata hits per second
174 .ne 2
176 \fBmiss \fR
178 .RS 14n
179 ARC misses per second
183 .ne 2
185 \fBmmis \fR
187 .RS 14n
188 Metadata misses per second
192 .ne 2
194 \fBmrug \fR
196 .RS 14n
197 MRU Ghost List hits per second
201 .ne 2
203 \fBphit \fR
205 .RS 14n
206 Prefetch hits per second
210 .ne 2
212 \fBpmis \fR
214 .RS 14n
215 Prefetch misses per second
219 .ne 2
221 \fBread \fR
223 .RS 14n
224 Total ARC accesses per second
228 .ne 2
230 \fBrmis \fR
232 .RS 14n
233 recycle_miss per second
237 .ne 2
239 \fBtime \fR
241 .RS 14n
242 Time
246 .ne 2
248 \fBarcsz \fR
250 .RS 14n
251 ARC Size
255 .ne 2
257 \fBdread \fR
259 .RS 14n
260 Demand data accesses per second
264 .ne 2
266 \fBeskip \fR
268 .RS 14n
269 evict_skip per second
273 .ne 2
275 \fBmiss% \fR
277 .RS 14n
278 ARC miss percentage
282 .ne 2
284 \fBmread \fR
286 .RS 14n
287 Metadata accesses per second
291 .ne 2
293 \fBpread \fR
295 .RS 14n
296 Prefetch accesses per second
300 .ne 2
302 \fBl2hit% \fR
304 .RS 14n
305 L2ARC access hit percentage
309 .ne 2
311 \fBl2hits \fR
313 .RS 14n
314 L2ARC hits per second
318 .ne 2
320 \fBl2miss \fR
322 .RS 14n
323 L2ARC misses per second
327 .ne 2
329 \fBl2read \fR
331 .RS 14n
332 Total L2ARC accesses per second
336 .ne 2
338 \fBl2size \fR
340 .RS 14n
341 Size of the L2ARC
345 .ne 2
347 \fBmtxmis \fR
349 .RS 14n
350 mutex_miss per second
354 .ne 2
356 \fBl2bytes \fR
358 .RS 14n
359 bytes read per second from the L2ARC
363 .ne 2
365 \fBl2miss% \fR
367 .RS 14n
368 L2ARC access miss percentage
372 .ne 2
374 \fBl2asize \fR
376 .RS 14n
377 Actual (compressed) size of the L2ARC
381 .SH OPTIONS
384 The following options are supported:
387 .ne 2
389 \fB\fB-f\fR\fR
391 .RS 12n
392 Display only specific fields. See \fBDESCRIPTION\fR for supported statistics.
396 .ne 2
398 \fB\fB-h\fR\fR
400 .RS 12n
401 Display help message.
405 .ne 2
407 \fB\fB-o\fR\fR
409 .RS 12n
410 Report statistics to a file instead of the standard output.
414 .ne 2
416 \fB\fB-s\fR\fR
418 .RS 12n
419 Display data with a specified separator (default: 2 spaces).
423 .ne 2
425 \fB\fB-x\fR\fR
428 .RS 12n
429 Print extended stats (same as -f time,mfu,mru,mfug,mrug,eskip,mtxmis,rmis,dread,pread,read).
433 .ne 2
435 \fB\fB-v\fR\fR
437 .RS 12n
438 Show field headers and definitions
441 .SH OPERANDS
444 The following operands are supported:
446 .ne 2
448 \fB\fIcount\fR\fR
450 .RS 12n
451 Display only \fIcount\fR reports.
455 .ne 2
457 \fB\fIinterval\fR\fR
459 .RS 12n
460 Specify the sampling interval in seconds.
463 .SH AUTHORS
466 arcstat was originally written by Neelakanth Nadgir and supported only ZFS ARC statistics.
467 Mike Harsch updated it to support L2ARC statistics.