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

@ -0,0 +1 @@
323

View file

@ -0,0 +1 @@
1

View file

@ -0,0 +1 @@
1

View file

@ -0,0 +1 @@
255

View file

@ -0,0 +1 @@
100

View file

@ -0,0 +1 @@
0

View file

@ -0,0 +1 @@
0

View file

@ -0,0 +1 @@
1

View file

@ -0,0 +1 @@
20