This plugin gathers info about the total number of processes and groups them by status (zombie, sleeping, running, etc.)
On linux this plugin requires access to procfs (/proc), on other OSes
it requires access to execute
Supported Platforms: Linux, FreeBSD, Darwin
# Get the number of processes and group them by status [[inputs.processes]] # no configuration
Another possible configuration is to define an alternative path for resolving the /proc location.
Using the environment variable
HOST_PROC the plugin will retrieve process information from the specified location.
docker run -v /proc:/rootfs/proc:ro -e HOST_PROC=/rootfs/proc