From c00710c083e6c3b4b5264c8bf1d207c9805f28db Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 1 Nov 2012 09:55:47 +0000 Subject: [PATCH] Fix process labels. --- plugins/system/cpu_by_process | 2 +- plugins/system/pagefaults_by_process | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/system/cpu_by_process b/plugins/system/cpu_by_process index f299a087..f452aa6f 100755 --- a/plugins/system/cpu_by_process +++ b/plugins/system/cpu_by_process @@ -89,7 +89,7 @@ END sub draw() { return $stack++ ? "STACK" : "AREA" } print map { - "$_.label $total_cpu_by_process{$_}\n" . + "$_.label $_\n" . "$_.min 0\n" . "$_.type DERIVE\n" . "$_.draw " . draw() . "\n" diff --git a/plugins/system/pagefaults_by_process b/plugins/system/pagefaults_by_process index 89ad2b79..a1f7f10e 100755 --- a/plugins/system/pagefaults_by_process +++ b/plugins/system/pagefaults_by_process @@ -88,7 +88,7 @@ END sub draw() { return $stack++ ? "STACK" : "AREA" } print map { - "$_.label $total_by_process{$_}\n" . + "$_.label $_\n" . "$_.min 0\n" . "$_.type DERIVE\n" . "$_.draw " . draw() . "\n"