]>
git.saurik.com Git - apple/ipsec.git/blob - ipsec-tools/racoon/stats.pl
3 # % cat /var/log/racoon-stats.log | perl stats.pl
7 ($a, $a, $a, $a, $a, $b) = split(/\s+/, $_, 6);
8 ($a, $c) = split(/:/, $b, 2);
13 foreach (sort keys %t) {
14 printf "%s: total=%d avg=%8.6f\n", $_, $t{$_}, $r{$_}/$t{$_};