Skip to content

Commit c83749c

Browse files
committed
display days on afl-stat
1 parent e67f2c4 commit c83749c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

afl-stat.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ while [ -n "$1" ]; do
1313
egrep 'run_time|execs_done|execs_per_sec|paths_total|^unique_|stability' "$1"/fuzzer_stats
1414
SECONDS=`egrep run_time "$1"/fuzzer_stats | awk '{print$3}'`
1515
test -n "$SECONDS" && {
16+
DAYS=`expr $SECONDS / 86400`
17+
SECONDS=`expr $SECONDS % 86400`
1618
TIME=`date -u -d "@$SECONDS" +"%T"`
17-
echo "run_clock : $TIME"
19+
echo "run_clock : $DAYS:$TIME"
1820
}
1921
} | sort | tee "$1"/stats.out
2022
LINES=

0 commit comments

Comments
 (0)