waypoint
This commit is contained in:
@@ -51,4 +51,5 @@ cat "$logfile"
|
|||||||
# then squash spaces and replace with commas
|
# then squash spaces and replace with commas
|
||||||
# them awk by delimiter comma to output
|
# them awk by delimiter comma to output
|
||||||
# and replace da original file with tha fixed one
|
# 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,$1,$3,$8,$13,$14,$15,$16,$17 }'
|
||||||
|
cat "$logfile" | sed '/^#\|^$\|^Linux/d' | tr -s ' ' ',' | awk -F, '{ cpup += $3 } END { print "sunn:",cpup / NR }'
|
||||||
Reference in New Issue
Block a user