author | Andrés J. Díaz <ajdiaz@connectical.com> | |
Wed, 21 Oct 2009 09:12:40 +0000 (11:12 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Wed, 21 Oct 2009 09:15:01 +0000 (11:15 +0200) | ||
commit | 07e262fbeaa432753ce8017098465a0e5870c36b | |
tree | 556c3f0b84071a5054d660727e2faf3c918cbe0f | tree | snapshot |
parent | b3facabd3ed3fa40c81a8122b78daffbbbdf34a6 | commit | diff |
processes plugin: Add collection of IO-metrics.
I attach a patch for collectd-4.8.0 adding a new feature which read IO
data for a process using /proc/<pid>/io (only works on linux > 2.6.20),
it's very usefull to monitoring disk throughput and what process is
related with high disk IO. I'm using this patchs for days in some
database environments with good results, but I think that is not enough
stable yet (more testing is required). The patch read from
/proc/<pid>/io (where available) the data for syscr and syscw (read and
write operations) and rchar and wchar (read and write bytes).
I attach a patch for collectd-4.8.0 adding a new feature which read IO
data for a process using /proc/<pid>/io (only works on linux > 2.6.20),
it's very usefull to monitoring disk throughput and what process is
related with high disk IO. I'm using this patchs for days in some
database environments with good results, but I think that is not enough
stable yet (more testing is required). The patch read from
/proc/<pid>/io (where available) the data for syscr and syscw (read and
write operations) and rchar and wchar (read and write bytes).
src/collectd.conf.pod | diff | blob | history | |
src/processes.c | diff | blob | history | |
src/types.db | diff | blob | history |