author | Florian Forster <octo@collectd.org> | |
Sat, 6 Jun 2015 19:37:00 +0000 (21:37 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 6 Jun 2015 19:37:00 +0000 (21:37 +0200) | ||
commit | 2c6f2a6c9ccfe8cfe4f605683e0e2e365da11f82 | |
tree | c0e289273717e3c0decb508a3d0e2d230c61e484 | tree | snapshot |
parent | cce1f2703e23abc87d1bdfbfe8ddd047cfac723c | commit | diff |
processes plugin: Read number of threads from /proc/$pid/stat as a fallback.
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.
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.
src/processes.c | diff | blob | history |