mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-20 07:41:48 +02:00
Update weekly_stats.yaml
This commit is contained in:
2
.github/workflows/weekly_stats.yaml
vendored
2
.github/workflows/weekly_stats.yaml
vendored
@@ -110,7 +110,9 @@ jobs:
|
|||||||
printf "$(sed "2d" Stats)" \
|
printf "$(sed "2d" Stats)" \
|
||||||
| awk '{for(i=NF;i>1;i--)printf "%s ",$i;printf "%s",$1;print ""}' > Stats3
|
| awk '{for(i=NF;i>1;i--)printf "%s ",$i;printf "%s",$1;print ""}' > Stats3
|
||||||
head -n 2 Stats3 > Stats3
|
head -n 2 Stats3 > Stats3
|
||||||
|
cat Stats3
|
||||||
sudo apt-get install gnuplot -y
|
sudo apt-get install gnuplot -y
|
||||||
|
echo "installed"
|
||||||
plot for [n=1:*] "Stats3" using 1:n title sprintf("Column %d",n)
|
plot for [n=1:*] "Stats3" using 1:n title sprintf("Column %d",n)
|
||||||
set term png
|
set term png
|
||||||
set output "stats.png"
|
set output "stats.png"
|
||||||
|
|||||||
Reference in New Issue
Block a user