summaryrefslogtreecommitdiff
path: root/src/pmchart/views/CPU
diff options
context:
space:
mode:
Diffstat (limited to 'src/pmchart/views/CPU')
-rw-r--r--src/pmchart/views/CPU11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pmchart/views/CPU b/src/pmchart/views/CPU
new file mode 100644
index 0000000..8724505
--- /dev/null
+++ b/src/pmchart/views/CPU
@@ -0,0 +1,11 @@
+#kmchart
+version 1
+
+chart title "CPU Utilization [%h]" style utilization
+ plot legend "User" color #2d2de2 metric kernel.all.cpu.user
+ plot legend "Kernel" color #e71717 metric kernel.all.cpu.sys
+ optional-plot legend "Nice" color #c2f3c2 metric kernel.all.cpu.nice
+ optional-plot legend "Intr" color #cdcd00 metric kernel.all.cpu.intr
+ optional-plot legend "Wait" color #00cdcd metric kernel.all.cpu.wait.total
+ optional-plot legend "Steal" color #fba2f5 metric kernel.all.cpu.steal
+ plot legend "Idle" color #16d816 metric kernel.all.cpu.idle