Giter Site home page Giter Site logo

arcstat's Introduction

arcstat.pl is a Perl script that uses the Sun::Solaris::Kstat module to read
ZFS ARC kstat values from the system and report on an interval basis. 

Some output examples can be found on the author's blog here:
http://blogs.sun.com/realneel/entry/zfs_arc_statistics

Examples showing L2ARC data can be found here:
http://blog.harschsystems.com/tools/arcstat-pl-updated-for-l2arc-statistics/

Note: L2ARC statistics are only available on systems that have implemented
the L2ARC (i.e. nevada-based releases).

Usage for arcstat.pl can be obtained by providing the "--help" flag:

./arcstat.pl --help
Arcstat version 0.4
Usage: arcstat.pl [-hvx] [-f fields] [-o file] [interval [count]]
         -x : Print extended stats
         -f : Specify specific fields to print (see -v)
         -o : Print stats to file
         -s : Specify a seperator

Examples:
        arcstat -o /tmp/a.log 2 10
        arcstat -s , -o /tmp/a.log 2 10
        arcstat -v
        arcstat -f time,hit%,dh%,ph%,mh% 

Available fields (statistics) can be retrieved with the "-v" flag:

./arcstat.pl -v
Arcstat version 0.4
Usage: arcstat.pl [-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
      c : Arc Target Size
   mfug : MFU Ghost List hits per second
   miss : Arc misses per second
    dm% : Demand Data miss percentage
   dhit : Demand Data hits per second
  pread : Prefetch accesses per second
  dread : Demand data accesses per second
   pmis : Prefetch misses per second
 l2miss : L2ARC 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
    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 : Size of the L2ARC
 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.