Help for this page

Select Code to Download


  1. or download this
    *** LAN traffic log, generated Thu Jul 14 17:49:44 2005
    
    ...
            Outgoing total 297096 packets, 45056702 bytes; 293887 IP packe
    +ts
            Average rates: 2.63 kbytes/s incoming, 0.47 kbytes/s outgoing
            Last 5-second rates: 0.00 kbytes/s incoming, 0.00 kbytes/s out
    +going
    
  2. or download this
    my $LOGFILE = "iptraf.log";
    open(LOGFILE, $LOGFILE) or die("Could not open log file.");
    foreach my $line (<LOGFILE>) {
        #chomp($line);      
    }