diff options
Diffstat (limited to 'utils/rspamd_stats.pl')
-rw-r--r-- | utils/rspamd_stats.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/rspamd_stats.pl b/utils/rspamd_stats.pl index b845964ff..aa0a2c45f 100644 --- a/utils/rspamd_stats.pl +++ b/utils/rspamd_stats.pl @@ -173,7 +173,8 @@ printf " [ %s / %s ] ", $timeStamp{'start'}, $timeStamp{'end'} if defined $timeStamp{'start'}; say ''; -printf "%11s: %d\n", $_, $action{$_} for sort keys %action; +printf "%11s: %6.2f%%, %d\n", $_, 100 * $action{$_} / $total, $action{$_} + for sort keys %action; say ''; printf "scan time min/avg/max = %.2f/%.2f/%.2f s ", $scanTime{'min'} / 1000, |