Add new collector exposing 'ksmd' stats

Add new collector which exposes the content of /sys/kernel/mm/ksm
directory. This directory contains control and statistics files for
Kernel Samepage Merging daemon.

The collector is not enabled by default.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
This commit is contained in:
Pavel Borzenkov 2015-11-11 16:02:41 +03:00
commit 0e78ed63a6
12 changed files with 120 additions and 0 deletions

View file

@ -7,6 +7,7 @@ collectors=$(cat << COLLECTORS
diskstats
entropy
filefd
ksmd
loadavg
mdadm
meminfo