- or download this
#!/usr/bin/perl
use NetPacket::Ethernet;
...
foreach $key (sort hashSort (keys(%sum))) {
print "\t$key \t$sum{$key}\n";
}
- or download this
Bytes Total
===================================================
10.11.11.11:445 <-> 22.22.22.22:47766 80000
22.22.22.22:47766 <-> 10.11.11.11:445 50000
- or download this
SESSION BYTES REC BYTES SENT TOTA
+L
10.11.11.11:445 <-> 22.22.22.22:47766 80000 30000 110
+000
- or download this
FIRST KEY: 10.11.11.11:445 <-> 22.22.22.22:47766 80000
SECOND KEY: 22.22.22.22:47766 <-> 10.11.11.11:445 5000
- or download this
foreach $key (keys(%sum)) {
my @excludeList = split("<->", $key);
...
}
}
}