Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[metricbeat] Fix errors in process summary on latest Linux kernels (e…
…lastic#6306) (elastic#7155) On Linux 4.14 and 4.15, metricbeat logs large numbers of errors such as ``` 2018/02/07 11:19:46.284926 process_summary.go:79: ERR Unknown state <73> for process with pid 4 ``` All affected processes appear to be kernel threads. `<73>` translates into `I`, which is a new status code introduced into the `/proc/<pid>/stat` output in kernel commit torvalds/linux@06eb618 For backwards compatibility, the old and new codes are now used to increment the count of idle processes reported in the summary. (cherry picked from commit f416d5b)
- Loading branch information