Commit 4dec1064 authored by Jonathon Duerig's avatar Jonathon Duerig

download-logs.pl no longer invokes dump2filter.pl. Added a preprocessor on...

download-logs.pl no longer invokes dump2filter.pl. Added a preprocessor on tcpdump files so they take up less room.
parent 7a6ef3f5
......@@ -21,7 +21,7 @@ sub copyFiles
system("cp $prefix/node-$dest1/local/logs/dump-$source-$dest1-$dest2.dump $prefix/dump/$source/$dest1/$dest2/dest1.dump");
system("cp $prefix/node-$dest2/local/logs/dump-$source-$dest1-$dest2.dump $prefix/dump/$source/$dest1/$dest2/dest2.dump");
system("perl dump2filter.pl $prefix/dump/$source/$dest1/$dest2");
# system("perl dump2filter.pl $prefix/dump/$source/$dest1/$dest2");
}
print("/usr/testbed/bin/loghole -e $pid/$eid sync -P\n");
......@@ -43,4 +43,4 @@ for ($source = 1; $source <= $nodeCount; ++$source)
}
}
system("/usr/testbed/bin/loghole -e $pid/$eid archive")
system("/usr/testbed/bin/loghole -e $pid/$eid archive");
......@@ -7,7 +7,8 @@
# Opens <path>/source.dump <path>/dest1.dump <path>/dest2.dump
$basePath = $ARGV[0];
$dumpPattern = '^([0-9.]*) IP [0-9.]+ > ([0-9.]+): [A-Za-z. ]+([0-9]+)';
#$dumpPattern = '^([0-9.]*) IP [0-9.]+ > ([0-9.]+): [A-Za-z. ]+([0-9]+)';
$dumpPattern = '^([0-9.]*) ([0-9.]+) ([0-9]+)$';
sub setupDest
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment