Ali,

Thanks. Yes the file was created after I followed your instruction. Because I 
started from a checkpoint before, so the dump file didn't come out.  

However, the dump file is a binary file, how can I see the information of the 
dumped packet from the file? Besides, if I want to see the status of the 
packets, how can I use the DPRINTF in EtherLink to print out the information?

Thanks again~

Yu

On Tuesday 30 May 2006 18:26, you wrote:
> Yu,
>
> If you set the environment variable -EDUMPFILE=<filename> run.py on
> the command line you'll see how an EtherDump object is created and
> attached to the ethernet link in the simulator. That line will set
> the file of the Etherdump object to <filename> which will be created
> during the execution (regardless of if packets were sent accross the
> link or not). The maxlen parameter specifies the maximum capture
> length of a single packet and defaults to 96 bytes (enough to always
> get the tcp header and all options as well as some state for other
> things like nfs).
>
> Ali
>
> On May 30, 2006, at 4:53 PM, Yu Zhang wrote:
> > Hi all,
> >
> > I want to trace the information of the dumped packets on the
> > Ethernet. I tried
> > to use parameters 'file' and 'maxlen' of EtherDump. But after I run
> > the
> > benchmark --specweb, I didn't get any file that collects
> > information about
> > the dumped packets. Does this mean no packet was dumped when
> > running the
> > benchmark? Or there is something wrong with the configuration?
> >
> > If I want to dump some packets, what should I do?
> >
> > Thanks
> >
> >
> > -------------------------------------------------------
> > All the advantages of Linux Managed Hosting--Without the Cost and
> > Risk!
> > Fully trained technicians. The highest number of Red Hat
> > certifications in
> > the hosting industry. Fanatical Support. Click to learn more
> > http://sel.as-us.falkag.net/sel?
> > cmd=lnk&kid=107521&bid=248729&dat=121642
> > _______________________________________________
> > m5sim-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/m5sim-users


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to