Skip to content

Commit ba948a2

Browse files
committed
Memsample plot with seconds
also align plot command
1 parent 4331ada commit ba948a2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

bin/memsample-csv-plot

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set datafile separator comma
1010
set timefmt "%Y-%m-%dT%H:%M:%S+00:00"
1111
set xdata time
1212
set xtics rotate
13-
set format x "%H:%M"
13+
set format x "%H:%M:%S"
1414
set terminal png size 800, 600
1515
set xlabel "wall clock (UTC)"
1616
set ylabel "used [MiB]"
@@ -22,10 +22,10 @@ set key rmargin
2222
# 4 mem_total_k, 4 mem_used_k, 6 mem_free_k,
2323
# 7 swap_total_k, 8 swap_used_k, 9 swap_free_k,
2424
# 10 rss, 11 rss_all, 12 datetime
25-
plot "${CSV}" using 12:(\$10/1024) title "y2start RSS" with lines,\
26-
"" using 12:(\$11/1024) title "y2start+children RSS" with lines,\
27-
"" using 12:(\$2/1024) title "disk" with lines,\
28-
"" using 12:(\$5/1024) title "mem" with lines,\
29-
"" using 12:((\$2+\$5)/1024) title "mem+disk" with lines,\
30-
"" using 12:(\$8/1024) title "swap" with lines
25+
plot "${CSV}" using 12:(\$10/1024) title "y2start RSS" with lines,\
26+
"" using 12:(\$11/1024) title "y2start+children RSS" with lines,\
27+
"" using 12:(\$2/1024) title "disk" with lines,\
28+
"" using 12:(\$5/1024) title "mem" with lines,\
29+
"" using 12:((\$2+\$5)/1024) title "mem+disk" with lines,\
30+
"" using 12:(\$8/1024) title "swap" with lines
3131
EOS

0 commit comments

Comments
 (0)