ARCSTAT(1)
π 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 sizedh%β Demand hit percentagedi%β Demand I/O hit percentagedm%β Demand miss percentageddh%β Demand data hit percentageddi%β Demand data I/O hit percentageddm%β Demand data miss percentagedmh%β Demand metadata hit percentagedmi%β Demand metadata I/O hit percentagedmm%β Demand metadata miss percentagemfuβ MFU list hits per secondmh%β Metadata hit percentagemi%β Metadata I/O hit percentagemm%β Metadata miss percentagemruβ MRU list hits per secondph%β Prefetch hits percentagepi%β Prefetch I/O hits percentagepm%β Prefetch miss percentagepdh%β Prefetch data hits percentagepdi%β Prefetch data I/O hits percentagepdm%β Prefetch data miss percentagepmh%β Prefetch metadata hits percentagepmi%β Prefetch metadata I/O hits percentagepmm%β Prefetch metadata miss percentagedhitβ Demand hits per seconddiohβ Demand I/O hits per seconddmisβ Demand misses per secondddhitβ Demand data hits per secondddiohβ Demand data I/O hits per secondddmisβ Demand data misses per seconddmhitβ Demand metadata hits per seconddmiohβ Demand metadata I/O hits per seconddmmisβ Demand metadata misses per secondhit%β ARC hit percentagehitsβ ARC hits per secondioh%β ARC I/O hits percentageiohsβ ARC I/O hits per secondmfugβ MFU ghost list hits per secondmhitβ Metadata hits per secondmiohβ Metadata I/O hits per secondmissβ ARC misses per secondmmisβ Metadata misses per secondmrugβ MRU ghost list hits per secondphitβ Prefetch hits per secondpiohβ Prefetch I/O hits per secondpmisβ Prefetch misses per secondpdhitβ Prefetch data hits per secondpdiohβ Prefetch data I/O hits per secondpdmisβ Prefetch data misses per secondpmhitβ Prefetch metadata hits per secondpmiohβ Prefetch metadata I/O hits per secondpmmisβ Prefetch metadata misses per secondreadβ Total ARC accesses per secondtimeβ Current timesizeβ ARC sizearcszβ Alias forsizeuncβ Uncached list hits per seconddreadβ Demand accesses per secondddreadβ Demand data accesses per seconddmreadβ Demand metadata accesses per secondeskipβevict_skipper secondmiss%β ARC miss percentagemreadβ Metadata accesses per secondpreadβ Prefetch accesses per secondpdreadβ Prefetch data accesses per secondpmreadβ Prefetch metadata accesses per secondl2hit%β L2ARC access hit percentagel2hitsβ L2ARC hits per secondl2missβ L2ARC misses per secondl2readβ Total L2ARC accesses per secondl2prefβ L2ARC prefetch allocated size per secondl2pref%β L2ARC prefetch allocated size percentagel2mfuβ L2ARC MFU allocated size per secondl2mfu%β L2ARC MFU allocated size percentagel2mruβ L2ARC MRU allocated size per secondl2mru%β L2ARC MRU allocated size percentagel2dataβ L2ARC data (buf content) allocated size per secondl2data%β L2ARC data (buf content) allocated size percentagel2metaβ L2ARC metadata (buf content) allocated size per secondl2meta%β L2ARC metadata (buf content) allocated size percentagel2sizeβ Size of the L2ARCmtxmisβmutex_missper secondl2bytesβ Bytes read per second from the L2ARCl2miss%β L2ARC access miss percentagel2asizeβ Actual (compressed) size of the L2ARCgrowβ ARC grow disabledneedβ ARC reclaim neededfreeβ The ARC's idea of how much free memory there is, which includes evictable memory in the page cache. Since the ARC tries to keepavailabove zero,availis usually more instructive to observe thanfree. πavailβ The ARC's idea of how much free memory is available to it, which is a bit less thanfree. May temporarily be negative, in which case the ARC will reduce the target sizec. π
π 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 onlycountreports.
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
- debian trixie: zfsutils-linux 2.3.9-0+deb13u1 Β· CDDL-1.0
- ubuntu noble: zfsutils-linux 2.2.2-0ubuntu9 Β· CDDL-1.0
- ubuntu noble: zfsutils-linux 2.2.2-0ubuntu9.5 Β· CDDL-1.0
- ubuntu questing: zfsutils-linux 2.3.4-1ubuntu2
- Copyright 2014 Adam Stevko. All rights reserved
- Copyright (c) 2015 by Delphix. All rights reserved
- Copyright (c) 2020 by AJ Jordan. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms