Greg Sarsons wrote:
>
> Hopefully someone can point/help me out. What is below is an extract of
> packet capture ... similar to tcpdump. What I want to do is to
> determine the amount of traffic a port has on it. I just plan on
> redirecting the output to this program.
>
> My thoughts are to
Here is a shot,. Unsure what to do when you find a icmp(in this becomes port
0), but would need to address this since you talk about but don't say what you want to
do:
#!perl -w
my %MyHash = ();
my $MyPort;
my $MyType;
my $MyLen;
my ( $MyLine1, $MyLine2, $MyLine3) ;
while ( ) {
ch
> Here is two data examples from the input file
> (each data is normally streachted along ONE LINE) :
> (I need the three data types that are'underlined'
> (ID.NUMBER, BranchNAME, ADDRESS).
I don't see anything that is 'underlined'. So I can't
tell what's the id number etc. I assume the add
(Thanks ME, who ever you are)
Hi, I have been asked to write a perl script, to format the output
in to fields/columns;
Description for script:
*Read a existing file and put it in my requested format,
*Take certain data types from the file (input),
(proble