mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
Fix up arcstat(1) to match our version
Turns out the illumos manpage, which is what this originates from, was written for the original Perl version of the utility which is not the version in the OpenZFS tree. *That* version originates from a Python rewrite that was done for FreeNAS. So fix up the manpage to match what we actually ship (and fix a few typos in the process). Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: AJ Jordan <alex@strugee.net> Closes #10288
This commit is contained in:
parent
ac806a2559
commit
5a04b17717
@ -1,4 +1,4 @@
|
|||||||
dist_man_MANS = zhack.1 ztest.1 raidz_test.1 zvol_wait.1
|
dist_man_MANS = zhack.1 ztest.1 raidz_test.1 zvol_wait.1 arcstat.1
|
||||||
EXTRA_DIST = cstyle.1
|
EXTRA_DIST = cstyle.1
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
|
@ -11,15 +11,15 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" Copyright 2014 Adam Stevko. All rights reserved.
|
.\" Copyright 2014 Adam Stevko. All rights reserved.
|
||||||
.\" Copyright (c) 2015 by Delphix. All rights reserved.
|
.\" Copyright (c) 2015 by Delphix. All rights reserved.
|
||||||
|
.\" Copyright (c) 2020 by AJ Jordan. All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
.TH ARCSTAT 1M "Feb 4, 2014"
|
.TH ARCSTAT 1 "May 7, 2020"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
arcstat \- report ZFS ARC and L2ARC statistics
|
arcstat \- report ZFS ARC and L2ARC statistics
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.LP
|
.LP
|
||||||
.nf
|
.nf
|
||||||
\fBarcstat\fR [\fB-hvxr\fR] [\fB-f field[,field]...\fR] [\fB-o file\fR] [\fB-s string\fR]
|
\fBarcstat\fR [\fB-hvx\fR] [\fB-f field[,field]...\fR] [\fB-o file\fR] [\fB-s string\fR] [\fBinterval\fR [\fBcount\fR]]
|
||||||
[\fBinterval\fR [\fBcount\fR]]
|
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
@ -41,7 +41,7 @@ The \fBarcstat\fR command reports the following information:
|
|||||||
\fBc \fR
|
\fBc \fR
|
||||||
.ad
|
.ad
|
||||||
.RS 14n
|
.RS 14n
|
||||||
ARC Target Size
|
ARC target size
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
@ -50,7 +50,7 @@ ARC Target Size
|
|||||||
\fBdh% \fR
|
\fBdh% \fR
|
||||||
.ad
|
.ad
|
||||||
.RS 14n
|
.RS 14n
|
||||||
Demand Data hit percentage
|
Demand data hit percentage
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
@ -59,7 +59,7 @@ Demand Data hit percentage
|
|||||||
\fBdm% \fR
|
\fBdm% \fR
|
||||||
.ad
|
.ad
|
||||||
.RS 14n
|
.RS 14n
|
||||||
Demand Data miss percentage
|
Demand data miss percentage
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
@ -68,7 +68,7 @@ Demand Data miss percentage
|
|||||||
\fBmfu \fR
|
\fBmfu \fR
|
||||||
.ad
|
.ad
|
||||||
.RS 14n
|
.RS 14n
|
||||||
MFU List hits per second
|
MFU list hits per second
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
@ -95,7 +95,7 @@ Metadata miss percentage
|
|||||||
\fBmru \fR
|
\fBmru \fR
|
||||||
.ad
|
.ad
|
||||||
.RS 14n
|
.RS 14n
|
||||||
MRU List hits per second
|
MRU list hits per second
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
@ -122,7 +122,7 @@ Prefetch miss percentage
|
|||||||
\fBdhit \fR
|
\fBdhit \fR
|
||||||
.ad
|
.ad
|
||||||
.RS 14n
|
.RS 14n
|
||||||
Demand Data hits per second
|
Demand data hits per second
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
@ -131,7 +131,7 @@ Demand Data hits per second
|
|||||||
\fBdmis \fR
|
\fBdmis \fR
|
||||||
.ad
|
.ad
|
||||||
.RS 14n
|
.RS 14n
|
||||||
Demand Data misses per second
|
Demand data misses per second
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
@ -140,7 +140,7 @@ Demand Data misses per second
|
|||||||
\fBhit% \fR
|
\fBhit% \fR
|
||||||
.ad
|
.ad
|
||||||
.RS 14n
|
.RS 14n
|
||||||
ARC Hit percentage
|
ARC hit percentage
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
@ -158,7 +158,7 @@ ARC reads per second
|
|||||||
\fBmfug \fR
|
\fBmfug \fR
|
||||||
.ad
|
.ad
|
||||||
.RS 14n
|
.RS 14n
|
||||||
MFU Ghost List hits per second
|
MFU ghost list hits per second
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
@ -194,7 +194,7 @@ Metadata misses per second
|
|||||||
\fBmrug \fR
|
\fBmrug \fR
|
||||||
.ad
|
.ad
|
||||||
.RS 14n
|
.RS 14n
|
||||||
MRU Ghost List hits per second
|
MRU ghost list hits per second
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
@ -239,7 +239,7 @@ Time
|
|||||||
\fBarcsz \fR
|
\fBarcsz \fR
|
||||||
.ad
|
.ad
|
||||||
.RS 14n
|
.RS 14n
|
||||||
ARC Size
|
ARC size
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
@ -347,7 +347,7 @@ mutex_miss per second
|
|||||||
\fBl2bytes \fR
|
\fBl2bytes \fR
|
||||||
.ad
|
.ad
|
||||||
.RS 14n
|
.RS 14n
|
||||||
bytes read per second from the L2ARC
|
Bytes read per second from the L2ARC
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.sp
|
.sp
|
||||||
@ -367,6 +367,33 @@ L2ARC access miss percentage
|
|||||||
.RS 14n
|
.RS 14n
|
||||||
Actual (compressed) size of the L2ARC
|
Actual (compressed) size of the L2ARC
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
.sp
|
||||||
|
.ne 2
|
||||||
|
.na
|
||||||
|
\fBgrow \fR
|
||||||
|
.ad
|
||||||
|
.RS 14n
|
||||||
|
ARC grow disabled
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.sp
|
||||||
|
.ne 2
|
||||||
|
.na
|
||||||
|
\fBneed \fR
|
||||||
|
.ad
|
||||||
|
.RS 14n
|
||||||
|
ARC reclaim needed
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.sp
|
||||||
|
.ne 2
|
||||||
|
.na
|
||||||
|
\fBfree \fR
|
||||||
|
.ad
|
||||||
|
.RS 14n
|
||||||
|
ARC free memory
|
||||||
|
.RE
|
||||||
.\"
|
.\"
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
@ -413,7 +440,6 @@ Display data with a specified separator (default: 2 spaces).
|
|||||||
.ne 2
|
.ne 2
|
||||||
.na
|
.na
|
||||||
\fB\fB-x\fR\fR
|
\fB\fB-x\fR\fR
|
||||||
|
|
||||||
.ad
|
.ad
|
||||||
.RS 12n
|
.RS 12n
|
||||||
Print extended stats (same as -f time,mfu,mru,mfug,mrug,eskip,mtxmis,dread,pread,read).
|
Print extended stats (same as -f time,mfu,mru,mfug,mrug,eskip,mtxmis,dread,pread,read).
|
||||||
@ -451,5 +477,6 @@ Specify the sampling interval in seconds.
|
|||||||
|
|
||||||
.SH AUTHORS
|
.SH AUTHORS
|
||||||
.LP
|
.LP
|
||||||
arcstat was originally written by Neelakanth Nadgir and supported only ZFS ARC statistics.
|
arcstat was originally written in Perl by Neelakanth Nadgir and supported only ZFS ARC statistics.
|
||||||
Mike Harsch updated it to support L2ARC statistics.
|
Mike Harsch updated it to support L2ARC statistics.
|
||||||
|
John Hixson ported it to Python for FreeNAS over some beer, after which many individuals from the OpenZFS community continued to maintain and improve it.
|
||||||
|
Loading…
Reference in New Issue
Block a user