search
数据采集 采集源配置 Processes 进程指标采集

Processes 进程指标采集

简介

采集 processes 指标上报到 DataFlux 中

前置条件

配置

进入 DataKit 安装目录下的 conf.d/host 目录,复制 processes.conf.sample 并命名为 processes.conf。示例如下:

设置:

# Get the number of processes and group them by status
[[inputs.processes]]
  # no configuration

配置好后,重启 DataKit 即可生效

采集指标

processes

指标 描述 类型 单位 Tag
blocked integer - host
running integer - host
sleeping integer - host
stopped integer - host
total integer - host
zombies integer - host
dead integer - host
wait freebsd only integer - host
idle bsd and Linux 4+ only integer - host
paging linux only integer - host
parked linux only integer - host
total_threads linux only integer - host