123456789101112131415161718192021222324252627282930313233 |
- use strict;
- use warnings;
- my ($tm, $nsr, $nt, $nu, @TL, @UL, $l);
- while (<>){
- next unless (/,Y=\w+ (\d+\.\d+) (\d+):(.+:)/);
- $tm = $1;
- $nsr = $2;
- $l = ":$3:";
- $nt = $nu = 0;
- @TL = @UL = ();
- while ($l =~ /(\d+) \w+ \w+ (\d+) ([01]):/g){
- if ($1 <= 32){
- if ($2){
- push(@TL, $1);
- $nt++;
- }
- if ($3){
- push(@UL, $1);
- $nu++;
- }
- }
- }
- print "$tm $nsr nu/nt = $nu/$nt T=\[@TL\] U=\[@UL\]\n" if (($nu >= 10));
- }
|