[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Reg bandwidth utilization!!
On Tue, 10 Jul 2001, Ganesh Gopalakrishnan wrote:
> I tried out ur code, Had some issues with it, that I thought I will let
> u know.....
>
> Firstly, the highest_packet id, was not getting changed at all..The
> problem was with the > sign, i changed it to
> -------
> if ( packet_id GT highest_packet_id ) {
> highest_packet_id = packet_id;
> }
>
> ----
> and then highest pkt id was getting updated properly..
What awk variant are you using, on what OS? I've never seen that.
As far as I know, GT is not a valid awk, nawk or gawk operator. Are
you trying to run this in perl or something?
> And another thing was that the format of log file had also changed, so , I
> had to change it for the newer format
What newer format? This is for the standard ns trace-all format
described in section 22.4 of the ns Manual, Trace File Support.
http://www.isi.edu/nsnam/ns/doc/node232.html
(and not some munged wireless version).
L.
<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>