-
Notifications
You must be signed in to change notification settings - Fork 5
/
zpool-iostat-viz.1
117 lines (116 loc) · 3.52 KB
/
zpool-iostat-viz.1
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
.\"
.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD
.\"
.\" Copyright (c) 2021 Stefan Eßer <[email protected]>
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd November, 6 2021
.Dt ZPOOL-IOSTAT-VIZ 1
.Os
.Sh NAME
.Nm zpool-iostat-viz
.Nd Display ZFS pool latency histogram
.Sh SYNOPSIS
.Nm
.Op Fl d , -diff
.Op Fl -by Ar d|m
.Op Fl f Ar file , Fl -from-file Ar file
.Op Fl -pt Ar palette , Fl -pal-time Ar palette
.Op Fl -pc Ar palette , Fl -pal-count Ar palette
.Op Fl -digits
.Op Fl -symbols
.Op Fl -help-colors
.Op Ar parts ...
.Sh DESCRIPTION
The
.Nm
command displays ZFS pool latency information in a more intuitive format
than the
.Xr zpool 8
command invoked as
.Dq zpool -r .
Latency information is displayed in a matrix with shorter latency times
at the top, longer times at the bottom, and columns for the selected
pools or devices the pools consist of.
.Pp
.Bl -tag -width "--help-colors"
.It Fl -by Ar d|m
Slice data by device
.Pq Fl -by Ar d
or by measurement
.Pq Fl -by Ar m .
Use the left and right arrow keys on your keyboard to select one of the
available screens.
.It Fl d , -diff
Show histogram for 3 seconds intervals instead of counts cumulated
over the run-time of the program.
The sampling period can be adjusted with the up and down arrow keys.
.It Fl -digits
Use
.Dq ".0123456789#"
as histogram values.
.It Fl -from-file Ar file
Read values from a file containing the output of:
.Dl zpool iostat -wvHp
.It Fl -help-colors
List the available color palettes for the
.Fl -pc
and
.Fl -pt
options.
.It Fl -pt Ar palette , Fl -pal-time Ar palette
Select a color palette for the display of time buckets.
.It Fl -pc Ar palette , Fl -pal-count Ar palette
Select a color palette for the display of bucket populationss.
.It Fl -symbols
Use
.Dq " .:;*#"
as histogram values.
.It Ar parts
Select parts or vdevs to display.
By default, all devices
.Pq including cache and ZIL devices ,
the logical elements the pools consists of
.Pq mirror, raidz1, ...
and all pools are displayed.
.El
.Sh EXIT STATUS
The
.Nm
program always returns an exit status of 0.
.Sh EXAMPLES
The following is an example of a typical usage
of the
.Nm
command:
.Pp
.Dl "zpool-iostats-viz -d"
.Pp
.Dl "zpool-iostats-viz --by d --symbols tank"
.Sh SEE ALSO
.Xr zpool 8
.Sh AUTHORS
The
.Nm
program was written by
.An Chad Miller Aq Mt [email protected] .