1PMDAXFS(1)                  General Commands Manual                 PMDAXFS(1)
2
3
4

NAME

6       pmdaxfs - XFS filesystem performance metrics domain agent (PMDA)
7

SYNOPSIS

9       $PCP_PMDAS_DIR/xfs/pmdaxfs [-d domain] [-l logfile]
10

DESCRIPTION

12       pmdaxfs  is  a  Performance  Metrics Domain Agent (PMDA) which extracts
13       performance metrics describing the state of the XFS filesystem from the
14       Linux kernel.
15
16       The  xfs  PMDA  exports metrics that measure information about metadata
17       buffer usage, the journal, btree operations, inode operations, extended
18       attributes, directories, quotas, read and write operation counts and of
19       course throughput.
20
21       The PMDA provides a facility to reset the values  of  all  counters  to
22       zero using pmstore(1) with the xfs.control.reset metric.
23
24       A brief description of the pmdaxfs command line options follows:
25
26       -d   It  is absolutely crucial that the performance metrics domain num‐
27            ber specified here is unique  and  consistent.   That  is,  domain
28            should  be  different for every PMDA on the one host, and the same
29            domain number should be used for the same PMDA on all hosts.
30
31       -l   Location of the log file.  By default, a log file named xfs.log is
32            written  in  the  current  directory  of  pmcd(1)  when pmdaxfs is
33            started, i.e.  $PCP_LOG_DIR/pmcd.  If the log file cannot be  cre‐
34            ated  or  is not writable, output is written to the standard error
35            instead.
36

INSTALLATION

38       The xfs PMDA is installed and available by default on  Linux.   If  you
39       want to undo the installation, do the following as root:
40
41            # cd $PCP_PMDAS_DIR/xfs
42            # ./Remove
43
44       If  you want to establish access to the names, help text and values for
45       the XFS performance metrics once more, after removal, do the  following
46       as root:
47
48            # cd $PCP_PMDAS_DIR/xfs
49            # ./Install
50
51       pmdaxfs  is  launched by pmcd(1) and should never be executed directly.
52       The Install and  Remove  scripts  notify  pmcd(1)  when  the  agent  is
53       installed or removed.
54

FILES

56       $PCP_PMCDCONF_PATH
57                 command line options used to launch pmdaxfs
58       $PCP_PMDAS_DIR/xfs/help
59                 default help text file for the xfs metrics
60       $PCP_PMDAS_DIR/xfs/Install
61                 installation script for the pmdaxfs agent
62       $PCP_PMDAS_DIR/xfs/Remove
63                 undo installation script for the pmdaxfs agent
64       $PCP_LOG_DIR/pmcd/xfs.log
65                 default  log  file  for  error messages and other information
66                 from pmdaxfs
67

PCP ENVIRONMENT

69       Environment variables with the prefix PCP_ are used to parameterize the
70       file  and  directory names used by PCP.  On each installation, the file
71       /etc/pcp.conf contains the  local  values  for  these  variables.   The
72       $PCP_CONF  variable may be used to specify an alternative configuration
73       file, as described in pcp.conf(5).
74

SEE ALSO

76       PCPIntro(1), pmcd(1), pmstore(1), pcp.conf(5) and pcp.env(5).
77
78
79
80Performance Co-Pilot                  PCP                           PMDAXFS(1)
Impressum