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

# pmdasamba(1)

Samba performance metrics domain agent (PMDA)

## NAME

pmdasamba - Samba performance metrics domain agent (PMDA)

## DESCRIPTION

**pmdasamba** is a Performance Metrics Domain Agent (PMDA) which exports metric values from Samba, a Windows SMB/CIFS server for UNIX.

In order for values to be made available by this PMDA, Samba must have been built with profiling support (WITH\_PROFILE in "smbd -b" output). This PMDA dynamically enumerates much of its metric hierarchy, based on the contents of "smbstatus --profile".

When the agent is installed (see below), the Install script will attempt to enable Samba statistics gathering, using "smbcontrol --profile".

## INSTALLATION

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

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

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

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

**pmdasamba** is launched by [**pmcd**(1)](/pmcd/1.md) and should never be executed directly.  The Install and Remove scripts notify [**pmcd**(1)](/pmcd/1.md) when the agent is installed or removed.

## FILES

- $PCP\_PMDAS\_DIR/samba/Install

  installation script for the **pmdasamba** agent

- $PCP\_PMDAS\_DIR/samba/Remove

  undo installation script for the **pmdasamba** agent

- $PCP\_LOG\_DIR/pmcd/samba.log

  default log file for error messages from **pmdasamba**

## SEE ALSO

[**pmcd**(1)](/pmcd/1.md), [**samba**(7)](/samba/7.md) and [**smbd**(8)](/smbd/8.md).
