ARCSTAT(1)

πŸ“¦
version 2.3.9 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing

πŸ‘‘ arcstat β€” the manual page, but make it a group chat

okay so bestie, welcome to arcstat(1) from the General Commands Manual πŸ’– this is the one that spills all the tea about your ZFS ARC and L2ARC, no cap.


✨ NAME ✨

arcstat β€” report ZFS ARC and L2ARC statistics πŸ¦‹


🌸 SYNOPSIS 🌸

arcstat [-havxp] [-f field[,field…]] [-o file] [-s string] [interval]
        [count]

πŸ’… DESCRIPTION πŸ’…

arcstat prints a whole buffet of ZFS ARC and L2ARC statistics, and it does it in a vmstat-like fashion β€” like, same energy, different stats. Here's the full roster, every single one, no skips 🫢:

  • c β€” ARC target size
  • dh% β€” Demand hit percentage
  • di% β€” Demand I/O hit percentage
  • dm% β€” Demand miss percentage
  • ddh% β€” Demand data hit percentage
  • ddi% β€” Demand data I/O hit percentage
  • ddm% β€” Demand data miss percentage
  • dmh% β€” Demand metadata hit percentage
  • dmi% β€” Demand metadata I/O hit percentage
  • dmm% β€” Demand metadata miss percentage
  • mfu β€” MFU list hits per second
  • mh% β€” Metadata hit percentage
  • mi% β€” Metadata I/O hit percentage
  • mm% β€” Metadata miss percentage
  • mru β€” MRU list hits per second
  • ph% β€” Prefetch hits percentage
  • pi% β€” Prefetch I/O hits percentage
  • pm% β€” Prefetch miss percentage
  • pdh% β€” Prefetch data hits percentage
  • pdi% β€” Prefetch data I/O hits percentage
  • pdm% β€” Prefetch data miss percentage
  • pmh% β€” Prefetch metadata hits percentage
  • pmi% β€” Prefetch metadata I/O hits percentage
  • pmm% β€” Prefetch metadata miss percentage
  • dhit β€” Demand hits per second
  • dioh β€” Demand I/O hits per second
  • dmis β€” Demand misses per second
  • ddhit β€” Demand data hits per second
  • ddioh β€” Demand data I/O hits per second
  • ddmis β€” Demand data misses per second
  • dmhit β€” Demand metadata hits per second
  • dmioh β€” Demand metadata I/O hits per second
  • dmmis β€” Demand metadata misses per second
  • hit% β€” ARC hit percentage
  • hits β€” ARC hits per second
  • ioh% β€” ARC I/O hits percentage
  • iohs β€” ARC I/O hits per second
  • mfug β€” MFU ghost list hits per second
  • mhit β€” Metadata hits per second
  • mioh β€” Metadata I/O hits per second
  • miss β€” ARC misses per second
  • mmis β€” Metadata misses per second
  • mrug β€” MRU ghost list hits per second
  • phit β€” Prefetch hits per second
  • pioh β€” Prefetch I/O hits per second
  • pmis β€” Prefetch misses per second
  • pdhit β€” Prefetch data hits per second
  • pdioh β€” Prefetch data I/O hits per second
  • pdmis β€” Prefetch data misses per second
  • pmhit β€” Prefetch metadata hits per second
  • pmioh β€” Prefetch metadata I/O hits per second
  • pmmis β€” Prefetch metadata misses per second
  • read β€” Total ARC accesses per second
  • time β€” Current time
  • size β€” ARC size
  • arcsz β€” Alias for size
  • unc β€” Uncached list hits per second
  • dread β€” Demand accesses per second
  • ddread β€” Demand data accesses per second
  • dmread β€” Demand metadata accesses per second
  • eskip β€” evict_skip per second
  • miss% β€” ARC miss percentage
  • mread β€” Metadata accesses per second
  • pread β€” Prefetch accesses per second
  • pdread β€” Prefetch data accesses per second
  • pmread β€” Prefetch metadata accesses per second
  • l2hit% β€” L2ARC access hit percentage
  • l2hits β€” L2ARC hits per second
  • l2miss β€” L2ARC misses per second
  • l2read β€” Total L2ARC accesses per second
  • l2pref β€” L2ARC prefetch allocated size per second
  • l2pref% β€” L2ARC prefetch allocated size percentage
  • l2mfu β€” L2ARC MFU allocated size per second
  • l2mfu% β€” L2ARC MFU allocated size percentage
  • l2mru β€” L2ARC MRU allocated size per second
  • l2mru% β€” L2ARC MRU allocated size percentage
  • l2data β€” L2ARC data (buf content) allocated size per second
  • l2data% β€” L2ARC data (buf content) allocated size percentage
  • l2meta β€” L2ARC metadata (buf content) allocated size per second
  • l2meta% β€” L2ARC metadata (buf content) allocated size percentage
  • l2size β€” Size of the L2ARC
  • mtxmis β€” mutex_miss per second
  • l2bytes β€” Bytes read per second from the L2ARC
  • l2miss% β€” L2ARC access miss percentage
  • l2asize β€” Actual (compressed) size of the L2ARC
  • grow β€” ARC grow disabled
  • need β€” ARC reclaim needed
  • free β€” The ARC's idea of how much free memory there is, which includes evictable memory in the page cache. Since the ARC tries to keep avail above zero, avail is usually more instructive to observe than free. πŸ‘€
  • avail β€” The ARC's idea of how much free memory is available to it, which is a bit less than free. May temporarily be negative, in which case the ARC will reduce the target size c. 😭

πŸŽ€ OPTIONS πŸŽ€

  • -a β€” Print all possible stats. literally all of them πŸ’…
  • -f β€” Display only specific fields. See β€œDESCRIPTION” for supported statistics. pick your faves ✨
  • -h β€” Display help message.
  • -o β€” Report statistics to a file instead of the standard output.
  • -p β€” Disable auto-scaling of numerical fields (for raw, machine-parsable values).
  • -s β€” Display data with a specified separator (default: 2 spaces).
  • -x β€” Print extended stats (same as -f time,mfu,mru,mfug,mrug,eskip,mtxmis,dread,pread,read).
  • -v β€” Show field headers and definitions

🌈 OPERANDS 🌈

The following operands are supported:

  • interval β€” Specify the sampling interval in seconds.
  • count β€” Display only count reports.

ok that's the whole page, every flag and every stat accounted for, we did not skip a single one πŸ’–

OpenZFS β€’ December 23, 2022 β€” that's the source, the version and the date bestie, and that's a wrap πŸŽ€πŸ’œβœ¨

πŸ“¦ where this page comes from