processes plugin: Read number of threads from /proc/$pid/stat as a fallback.
authorFlorian Forster <octo@collectd.org>
Sat, 6 Jun 2015 19:37:00 +0000 (21:37 +0200)
committerFlorian Forster <octo@collectd.org>
Sat, 6 Jun 2015 19:37:00 +0000 (21:37 +0200)
Should reading the number of threads from /prod/$pid/status fail, use the
number provided by /prod/$pid/stat as a fallback. If that fails, too, use 1.

As discussed with @manuelluis in #1033.


No differences found