summaryrefslogtreecommitdiffstats
path: root/src/proc_vmstat.c
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2017-12-19 23:39:21 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2017-12-19 23:39:21 +0000
commit61aedf201c2c4bf0e5aa4db32e74f4d860b88593 (patch)
treebcf4f9a0cd8bc2daf38b2ff9f29bfcc1e5ed8968 /src/proc_vmstat.c
parentNew upstream version 1.8.0+dfsg (diff)
downloadnetdata-61aedf201c2c4bf0e5aa4db32e74f4d860b88593.tar.xz
netdata-61aedf201c2c4bf0e5aa4db32e74f4d860b88593.zip
New upstream version 1.9.0+dfsgupstream/1.9.0+dfsg
Diffstat (limited to 'src/proc_vmstat.c')
-rw-r--r--src/proc_vmstat.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/proc_vmstat.c b/src/proc_vmstat.c
index 2382116f1..72ca3818f 100644
--- a/src/proc_vmstat.c
+++ b/src/proc_vmstat.c
@@ -102,6 +102,8 @@ int do_proc_vmstat(int update_every, usec_t dt) {
, NULL
, "Swap I/O"
, "kilobytes/s"
+ , "proc"
+ , "vmstat"
, 250
, update_every
, RRDSET_TYPE_AREA
@@ -126,13 +128,15 @@ int do_proc_vmstat(int update_every, usec_t dt) {
if(unlikely(!st_io)) {
st_io = rrdset_create_localhost(
"system"
- , "io"
+ , "pgpgio"
, NULL
, "disk"
, NULL
- , "Disk I/O"
+ , "Memory Paged from/to disk"
, "kilobytes/s"
- , 150
+ , "proc"
+ , "vmstat"
+ , 151
, update_every
, RRDSET_TYPE_AREA
);
@@ -162,6 +166,8 @@ int do_proc_vmstat(int update_every, usec_t dt) {
, NULL
, "Memory Page Faults"
, "page faults/s"
+ , "proc"
+ , "vmstat"
, 500
, update_every
, RRDSET_TYPE_LINE
@@ -205,6 +211,8 @@ int do_proc_vmstat(int update_every, usec_t dt) {
, NULL
, "NUMA events"
, "events/s"
+ , "proc"
+ , "vmstat"
, 800
, update_every
, RRDSET_TYPE_LINE