diff options
| -rw-r--r-- | cron.sh | 2 | ||||
| -rw-r--r-- | objects_over_time.plt | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -74,7 +74,7 @@ find $LOGS -name "processor-out*__????-??-??_??-??-??.log"\ | mlr --fs ", " \ --ocsv \ put '$date = sec2gmt(gmt2sec($date) // (60*60*3) * (60*60*3));' \ - then stats1 -a count -f players,matches,telemetries -g date \ + then stats1 -a sum -f players,matches,telemetries -g date \ then sort -f date \ | grep -v "1970" \ >> $PF.csv diff --git a/objects_over_time.plt b/objects_over_time.plt index ad7585c..e3655b9 100644 --- a/objects_over_time.plt +++ b/objects_over_time.plt @@ -13,6 +13,6 @@ set datafile separator ", "; set terminal png noenhanced; set key autotitle columnhead; set output outputfile; -plot inputfile using "date":"players_count" with lines axes x1y2, \ - inputfile using "date":"matches_count" with lines axes x1y2, \ - inputfile using "date":"telemetries_count" with lines axes x1y1; +plot inputfile using "date":"players_sum" with lines axes x1y2, \ + inputfile using "date":"matches_sum" with lines axes x1y2, \ + inputfile using "date":"telemetries_sum" with lines axes x1y1; |
