Postgresql collector reports DBs as tags.
Merge pull request #91 from vasiliyk/postgresql_tags

Postgresql collector reports DBs as tags.
Report data in bytes instead of 1k blocks.
startstop: Use the current directory as default TCOLLECTOR_PATH

With the current directory as default TCOLLECTOR_PATH the startstop
script can be called in the tcollector root without setting
TCOLLETOR_PATH.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
use directory of the startstop script as default TCOLLECTOR_PATH

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
startstop: replace $BASH_SOURCE with a sh compatible variant

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
File system types to ignore as list.
Change of comments formating for /proc/mounts .
Copyright entry change to 2010-2013 format.
Bug fix: OSError exception if mount point is no longer valid.
Add per-cpu stats

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Fixing of sendq queue fast growing in case of TSD erratic operation.
Send_data() data preparation optimization.
2 constants introduced MAX_SENDQ_SIZE and MAX_READQ_SIZE.
dfstat: Ignore cgroup and fuse pseudo-filesystems.