PMDAJBD2(1) | General Commands Manual | PMDAJBD2(1) |
pmdajbd2 - journal block device (JBD) performance metrics domain agent (PMDA)
$PCP_PMDAS_DIR/jbd2/pmdajbd2 [-d domain] [-l logfile] [-j path] [-U username]
pmdajbd2 is a Performance Metrics Domain Agent (PMDA) which extracts performance metrics from the Journal Block Device subsystem (version 2) in the Linux kernel. These metrics are exported by the kernel in procfs files, one file per block device. The JBD2 subsystem is used by several filesystems including ext3, ext4 and ocfs2.
The jbd2 PMDA exports metrics that measure detailed journal transaction information, such as time spent waiting and locked, request rates, blocks used and so on.
A brief description of the pmdajbd2 command line options follows (these are only relevant when running the PMDA as a daemon, and not as a shared library):
This PMDA is installed by default and in the shared library mode (rather than as a separate daemon to pmcd(1)). Thus, the names, help text and values for the jbd2 performance metrics should always be available.
If you do not use these metrics you can remove this PMDA, do the following as root:
# cd $PCP_PMDAS_DIR/jbd2 # ./Remove
If you want to enable the installation again, do the following as root:
# cd $PCP_PMDAS_DIR/jbd2 # ./Install
pmdajbd2 is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed.
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5).
PCPIntro(1), pmcd(1), pcp.conf(5) and pcp.env(5).
PCP | Performance Co-Pilot |