This commit is contained in:
2025-11-04 06:20:23 -07:00
parent 6a599668b8
commit af5882d3e6
+1
View File
@@ -52,3 +52,4 @@ cat "$logfile"
# them awk by delimiter comma to output
# and replace da original file with tha fixed one
# cat "$logfile" | sed '/^#\|^$\|^Linux/d' | tr -s ' ' ',' | awk -F, '{ cpup += $3 } END { print "sunn:",cpup / NR,$1,$3,$8,$13,$14,$15,$16,$17 }'
cat "$logfile" | sed '/^#\|^$\|^Linux/d' | tr -s ' ' ',' | awk -F, '{ cpup += $3 } END { print "sunn:",cpup / NR }'