---
name: "pmdalmsensors"
section: "1"
platform: "linux"
package: "pcp"
version: "7.2.2-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pmdalmsensors"
---

# pmdalmsensors(1)

Linux hardware monitoring performance metrics domain agent (PMDA)

## NAME

**pmdalmsensors** - Linux hardware monitoring performance metrics domain agent (PMDA)

## SYNOPSIS

**$PCP\_PMDAS\_DIR/lmsensors/pmdalmsensors** \[**debug**\]

## DESCRIPTION

**pmdalmsensors** is a Performance Metrics Domain Agent (PMDA) which extracts performance metrics describing the state of hardware using the lm-sensors software on compatible motherboards.

The **lmsensors** PMDA exports metrics that measure fan speeds and core temperatures.

## INSTALLATION

If you want access to the names, help text and values for the lmsensors performance metrics, do the following as root:

```
# cd $PCP_PMDAS_DIR/lmsensors
# ./Install
```

If you want to undo the installation, do the following as root:

```
# cd $PCP_PMDAS_DIR/lmsensors
# ./Remove
```

pmdalmsensors.python is usually launched by pmcd (1), and not executed directly. Direct execution is mostly used for debugging purposes.

The Install and Remove scripts notify pmcd (1) when the agent is installed or removed.

## OPTIONS

pmdalmsensors.python supports the following options.

- **-i**, **--inject**

  inject data from file instead of using sensors

- **-d**, **--debug**

  debug level: 0 (default), 1 or 2

- **-h**, **--help**

  show a help message

  To use options while pmdalmsensors.python is run from PMCD, you might want to use 'args' in the 'Install' stript, for example

  args="-i /path/static\_sensors\_output.txt"

## FILES

- **$PCP\_PMCDCONF\_PATH**

  command line options used to launch **pmdalmsensors**

- **$PCP\_PMDAS\_DIR/lmsensors/help**

  default help text file for the lmsensors metrics

- **$PCP\_PMDAS\_DIR/lmsensors/Install**

  installation script for the **pmdalmsensors** agent

- **$PCP\_PMDAS\_DIR/lmsensors/Remove**

  undo installation script for the **pmdalmsensors** agent

## PCP ENVIRONMENT

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)](/pcp.conf/5.md).

## SEE ALSO

[**PCPIntro**(1)](/PCPIntro/1.md), [**pmcd**(1)](/pmcd/1.md), [**pcp.conf**(5)](/pcp.conf/5.md), [**pcp.env**(5)](/pcp.env/5.md) and [**sensors**(1)](/sensors/1.md).
