---
isPrivate: true
title: Process collection with Agent v5
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Agent > Agent FAQ > Process collection with Agent v5
---

# Process collection with Agent v5

## Standard Agent configuration{% #standard-agent-configuration %}

**Live Processes is available in Datadog Agent version 5.16.0 and above.** See the instructions for standard [Agent installation](https://app.datadoghq.com/account/settings/agent/5?platform=overview) for platform-specific details.

**Note**: Live Processes is not available for the source install method of the Agent.

Once the Datadog Agent is installed, enable Live Processes collection by editing the [configuration file](https://docs.datadoghq.com/agent/faq/where-is-the-configuration-file-for-the-agent/) at:

```text
/etc/dd-agent/datadog.conf
```

and adding the following line to the `[Main]` section:

```yaml
    process_agent_enabled: true
```

After configuration is complete, [restart the Agent](https://docs.datadoghq.com/agent/configuration/agent-commands/#start-stop-restart-the-agent). **Note**: To collect container information in the standard install, the `dd-agent` user needs to have permissions to access `docker.sock`.

## Docker container{% #docker-container %}

Update to Datadog Agent image version 5.16.0 or above:

```
$ docker pull gcr.io/datadoghq/docker-dd-agent
```

Follow the instructions for [docker-dd-agent](https://github.com/DataDog/docker-dd-agent), passing in the following attributes, in addition to any other custom settings as appropriate:

```text
-v /etc/passwd:/etc/passwd:ro
-e DD_PROCESS_AGENT_ENABLED=true
```

## Kubernetes DaemonSet{% #kubernetes-daemonset %}

In the [dd-agent.yaml](https://github.com/DataDog/docker-dd-agent#configuration-files) manifest used to create the DaemonSet, add the following environment variables, volume mount, and volume:

```yaml
 env:
    - name: DD_PROCESS_AGENT_ENABLED
      value: "true"
  volumeMounts:
    - name: passwd
      mountPath: /etc/passwd
      readOnly: true
  volumes:
    - hostPath:
        path: /etc/passwd
      name: passwd
```

See the standard [DaemonSet installation](https://docs.datadoghq.com/agent/kubernetes/) and the [docker-dd-agent](https://github.com/DataDog/docker-dd-agent) information pages for further documentation.
