[ man7.org ](../../../index.html) > Linux > [ man-pages ](../index.html) |  [ Linux/UNIX system programming training ](http://man7.org/training/)  
---|---  
  
* * *

#  pmdazfs(1) — Linux manual page

NAME  |  SYNOPSIS  |  DESCRIPTION  |  INSTALLATION  |  SEE ALSO  |  COLOPHON   
---  
|  
      
    
    _PMDAZFS_(1)               General Commands Manual              _PMDAZFS_(1)
    

##  NAME  top

    
    
           **pmdazfs** - ZFS filesystem performance metrics domain agent (PMDA)
           for Linux
    

##  SYNOPSIS  top

    
    
           **$PCP_PMDAS_DIR/linux_zfs/pmdazfs**[**-d** _domain_] [**-l** _logfile_]
    

##  DESCRIPTION  top

    
    
           **pmdazfs** is a Performance Metrics Domain Agent (PMDA) which
           extracts performance metrics describing the state of the ZFS
           filesystem from the stats files located in /proc.
    
           The **zfs** PMDA exports metrics that measure information about
           caching (ARC, L2ARC, ZIL, VDEV), buffering, RAIDZ, dnode
           operations and pools IO.
    
           A brief description of the **pmdazfs** command line options follows:
    
           **-d** The performance metrics _domain_ number must be set to a
                unique value.
    
           **-l** Location of the log file.  By default, a log file named
                _zfs.log_ is written in the current directory of [pmcd(1)](../man1/pmcd.1.html) when
                **pmdazfs** is started, i.e.  **$PCP_LOG_DIR/pmcd**.  If the log
                file cannot be created or is not writable, output is written
                to the standard error instead.
    

##  INSTALLATION  top

    
    
           OpenZFS is not included in PCP, and has to be installed on the
           system from the available packages or source.  Once OpenZFS is
           installed and configured, the stats files should appear in /proc
           and PMDA can be added to PMCD using the Install script:
    
                # cd $PCP_PMDAS_DIR/zfs
                # ./Install
    
           To remove PMDA use the Remove script:
    
                # cd $PCP_PMDAS_DIR/zfs
                # ./Remove
    

##  SEE ALSO  top

    
    
           [PCPIntro(1)](../man1/PCPIntro.1.html), [pmcd(1)](../man1/pmcd.1.html), [pcp.conf(5)](../man5/pcp.conf.5.html) and [pcp.env(5)](../man5/pcp.env.5.html).
    

##  COLOPHON  top

    
    
           This page is part of the _PCP_ (Performance Co-Pilot) project.
           Information about the project can be found at 
           â¨<http://www.pcp.io/>â©.  If you have a bug report for this manual
           page, send it to pcp@groups.io.  This page was obtained from the
           project's upstream Git repository
           â¨<https://github.com/performancecopilot/pcp.git>â© on 2023-12-22.
           (At that time, the date of the most recent commit that was found
           in the repository was 2023-12-16.)  If you discover any rendering
           problems in this HTML version of the page, or you believe there
           is a better or more up-to-date source for the page, or you have
           corrections or improvements to the information in this COLOPHON
           (which is _not_ part of the original manual page), send a mail to
           man-pages@man7.org
    
    Performance Co-Pilot               PCP                        _PMDAZFS_(1)
    

* * *

* * *

HTML rendering created 2023-12-22 by [ Michael Kerrisk ](https://man7.org/mtk/index.html) , author of [ _The Linux Programming Interface_ ](https://man7.org/tlpi/) .  For details of in-depth **Linux/UNIX system programming training courses** that I teach, look [ here ](https://man7.org/training/) .  Hosting by [ jambit GmbH ](https://www.jambit.com/index_en.html) .  |  |  [ ![Cover of TLPI](https://man7.org/tlpi/cover/TLPI-front-cover-vsmall.png) ](https://man7.org/tlpi/)  
---|---|---  
  
* * *

[ ![Web Analytics Made Easy -

StatCounter](https://c.statcounter.com/7422636/0/9b671