summaryrefslogtreecommitdiff
path: root/graphit
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-04-10 19:00:23 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-04-10 19:00:23 -0400
commitd7e02ebd152cde198654c306792fe44ff8bf6b90 (patch)
treed092a6fc9638bc629d4721ff4bb2eebdc9f92e2c /graphit
parentd2a5752b6ed0048216ead3d53e694bb8b84b6e34 (diff)
graph cpu/mem too
Diffstat (limited to 'graphit')
-rwxr-xr-xgraphit3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphit b/graphit
index f40ab2e..250b99e 100755
--- a/graphit
+++ b/graphit
@@ -4,5 +4,6 @@ filename=system("echo $data")
set title filename
set key outside
#plot name with linespoints notitle
-plot for [col=1:3] filename using 0:col with lines notitle
+#plot filename using 1:2 with linespoints title columnheader
+plot for [col=2:4] filename using 1:col with lines title columnheader
pause -1