ZPOOL-IOSTAT-VIZ(1)

πŸ“¦ version 2021-11, in nixos 26.05, nixpkgs unstable

πŸ’… ZPOOL-IOSTAT-VIZ πŸ’…

Okay bestie, so you know how zpool(8) can show you latency if you run it as zpool -r? Well this iconic little tool, zpool-iostat-viz, is here to make that data actually make sense. It's giving intuitive, it's giving readable, it's giving main character energy. ✨


🌸 SYNOPSIS 🌸

zpool-iostat-viz [-d, --diff] [--by d|m] [-f file, --from-file file]
                 [--pt palette, --pal-time palette]
                 [--pc palette, --pal-count palette] [--digits]
                 [--symbols] [--help-colors] [parts ...]

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, zpool-iostat-viz displays ZFS pool latency info in a way that's so much more intuitive than running zpool(8) as zpool -r. Think of it as a glow-up for your latency data. πŸ’–

The vibes? Latency information is shown in a matrix β€” shorter latency times up at the top, longer times down at the bottom, and columns for whatever pools you picked or the devices those pools are made of. It's literally so organized. πŸ‘‘

  • --by d|m β€” Slice the data by device (--by d) or by measurement (--by m). Then use the ← and β†’ arrow keys on your keyboard to flip between the available screens. So easy. πŸŽ€
  • -d, --diff β€” Shows the histogram for 3 seconds intervals instead of counts cumulated over the run-time of the program. And get this β€” you can adjust the sampling period with the ↑ and ↓ arrow keys. Iconic. πŸ”₯
  • --digits β€” Uses ".0123456789#" as histogram values. Numbers, but make it fancy. πŸ”’
  • -f file, --from-file file β€” Reads values from a file that contains the output of:
zpool iostat -wvHp

So you can be like "bestie I already have the data" and this tool is like "say less." πŸ’…

  • --help-colors β€” Lists all the available color palettes for the --pc and --pt options. Because sometimes you just need to see your options, y'know? 🌈
  • --pt palette, --pal-time palette β€” Selects a color palette for displaying the time buckets. Time to make it cute. ⏰
  • --pc palette, --pal-count palette β€” Selects a color palette for displaying the bucket populations. (Yes, the original says "populationss" with the extra s β€” we don't fix typos here, we preserve them. It's called archival accuracy, bestie. πŸ“š)
  • --symbols β€” Uses " .:;*#" as histogram values. For when you want your data to look like a lil piece of art. 🎨
  • parts β€” Selects parts or vdevs to display. By default? Everything. All devices (including cache and ZIL devices), the logical elements the pools consist of (mirror, raidz1, ...), and all pools are displayed. No cap, it shows you the whole squad. πŸ‘―β€β™€οΈ

πŸ’€ EXIT STATUS πŸ’€

The zpool-iostat-viz program always returns an exit status of 0. Like, it literally cannot fail. It's just that confident. Periodt. ✨


πŸ“ EXAMPLES πŸ“

Here's what typical usage looks like, bestie:

zpool-iostats-viz -d

zpool-iostats-viz --by d --symbols tank

(Yes, the example says zpool-iostats-viz with an extra s and the command is zpool-iostat-viz β€” we're keeping it exactly as the original wrote it. Historical accuracy, iykyk. 🫢)


πŸ‘‘ SEE ALSO πŸ‘‘

zpool(8) β€” go check it out, it's the OG.


🧚 AUTHORS 🧚

The zpool-iostat-viz program was written by Chad Miller <chad@cornsilk.net>. Shoutout to Chad for this absolute gift to the ZFS community. πŸ™Œ


And that's the whole vibe, bestie! This page is from the Debian manual, dated November, 6 2021 β€” so like, a little vintage but still slaying. Go forth and visualize those latencies. You got this. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from