Hi ZFSers, I've been working on merging the Joyent arcstat enhancements with some of my own and am now to the point where it is time to broaden the requirements gathering. The result is to be merged into the illumos tree.
arcstat is a perl script to show the value of ARC kstats as they change over time. This is similar to the ideas behind mpstat, iostat, vmstat, and friends. The current usage is: Usage: arcstat [-hvx] [-f fields] [-o file] [interval [count]] Field definitions are as follows: mtxmis : mutex_miss per second arcsz : ARC size mrug : MRU ghost list hits per second l2hit% : L2ARC access hit percentage mh% : Metadata hit percentage l2miss% : L2ARC access miss percentage read : Total ARC accesses per second l2hsz : L2ARC header size c : ARC target size mfug : MFU ghost list hits per second miss : ARC misses per second dm% : Demand data miss percentage hsz : ARC header size dhit : Demand data hits per second pread : Prefetch accesses per second dread : Demand data accesses per second l2miss : L2ARC misses per second pmis : Prefetch misses per second time : Time l2bytes : Bytes read per second from the L2ARC pm% : Prefetch miss percentage mm% : Metadata miss percentage hits : ARC reads per second throt : Memory throttles per second mfu : MFU list hits per second l2read : Total L2ARC accesses per second mmis : Metadata misses per second rmis : recycle_miss per second mhit : Metadata hits per second dmis : Demand data misses per second mru : MRU list hits per second ph% : Prefetch hits percentage eskip : evict_skip per second l2size : L2ARC size l2hits : L2ARC hits per second hit% : ARC hit percentage miss% : ARC miss percentage dh% : Demand data hit percentage mread : Metadata accesses per second phit : Prefetch hits per second Some questions for the community: 1. Should there be flag compatibility with vmstat, iostat, mpstat, and friends? 2. What is missing? 3. Is it ok if the man page explains the meanings of each field, even though it might be many pages long? 4. Is there a common subset of columns that are regularly used that would justify a shortcut option? Or do we even need shortcuts? (eg -x) 5. Who wants to help with this little project? -- Richard Elling rich...@nexenta.com +1-760-896-4422 Nexenta European User Conference, Amsterdam, May 20 www.nexenta.com/corp/european-user-conference-2011 _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss