Help for this page

Select Code to Download


  1. or download this
    perl -lane'$h{$F[0]}++}{print scalar keys %h' /path/to/apache/logs/acc
    +ess_log
    
  2. or download this
    use strict;
    use warnings;
    ...
       map Tr(td[ $_, $hist{$_} ]),
          sort {$hist{$b} <=> $hist{$a}} keys %hist,
    );