OpenTSDB/tcollector — pull request #137 by nigel4321 (2014-02-19 17:15:02+00:00)
Title: Linux generic per process stats collector

An attempt to create a collector which collects stats for any process.
To do so it uses a configuration file which specifies the tag and a regex. The regex is matched against the command line of the process.
The intention was to aide support teams in troubleshooting problems with specific applications. It means you can give a non-root user change access to the config file.

All of the stats are gathered out of /proc and this collector will not interact directly with your process.
As such, for what the metrics means, look at man proc(5)

It provides
* IO

rchar
wchar
syscr
syscw
read_bytes
write_bytes
cancelled_write_bytes

* fd

Number of open file descriptors

* threads

Number of active threads

* net

Number of established connections for tcp, tcp6, udp, udp6 and unix

* pcpu

Percent CPU usage.
Calculated over 1 second by default, but you can change this.

* mem

total - total program size - (Virtual memory size)
resident - resident set size

Configuration changes are picked up on the fly.

Any suggestions appreciated.