kopia lustrzana https://github.com/jbruce12000/kiln-controller
grab only oven temperature logs
rodzic
41c217dab8
commit
97a13e1a45
3
ziplogs
3
ziplogs
|
@ -3,5 +3,6 @@
|
|||
echo "----------------------------------------------"
|
||||
echo "| Writing all kiln logs to ./kiln.logs.gz... |"
|
||||
echo "----------------------------------------------"
|
||||
zgrep --no-filename INFO /var/log/* 2>/dev/null|strings|sort|uniq|gzip >kiln.logs.gz
|
||||
zgrep --no-filename "INFO.*oven: temp=" /var/log/* 2>/dev/null|strings|sed 's/^.*\(....-..-.. ..:..:..,... INFO oven: temp=\)/\1/'|sort|uniq|gzip > kiln.logs.gz
|
||||
|
||||
ls -la kiln.logs.gz
|
||||
|
|
Ładowanie…
Reference in New Issue