[collectd] Feature to get io data from process

Andrés J. Díaz ajdiaz at connectical.com
Mon Sep 21 11:21:40 CEST 2009


Hi everybody! :)

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).

Obviously comments, enhancements and bug reports are welcome :)

Enjoy!

Regards,
  Andres
-------------- next part --------------
A non-text attachment was scrubbed...
Name: feature-proc-io.patch
Type: application/octet-stream
Size: 7898 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090921/2e230291/attachment.obj 


More information about the collectd mailing list