[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Reg bandwidth utilization!!



Hi,

OS: Linux 7.1
Awk : GNU Awk 3.0.6
NS: 2.1b7a

I am running it at command line only, Not in perl or anything else..
Usage:
cat out.nam | awk -f <program-source file>

I tried out with just > first, but highest pkt was always at 0, SO i tried
GT and it worked !! :-)

And, regd the output, I was talking about the out.nam file format, I
was trying to apply on the out.nam file.  And my nam output file looks
like this

------------


+ -t 0.5 -s 0 -d 1 -p cbr -e 1000 -c 2 -i 0 -a 2 -x {0.0 1.0 0 -------
null}
- -t 0.5 -s 0 -d 1 -p cbr -e 1000 -c 2 -i 0 -a 2 -x {0.0 1.0 0 -------
null}
h -t 0.5 -s 0 -d 1 -p cbr -e 1000 -c 2 -i 0 -a 2 -x {0.0 1.0 -1 -------
null}
r -t 0.526 -s 0 -d 1 -p cbr -e 1000 -c 2 -i 0 -a 2 -x {0.0 1.0 0 -------
null}
+ -t 0.526 -s 1 -d 0 -p ack -e 40 -c 2 -i 1 -a 2 -x {1.0 0.0 0 -------
null}
- -t 0.526 -s 1 -d 0 -p ack -e 40 -c 2 -i 1 -a 2 -x {1.0 0.0 0 -------
null}
h -t 0.526 -s 1 -d 0 -p ack -e 40 -c 2 -i 1 -a 2 -x {1.0 0.0 -1 -------
null}
r -t 0.53664 -s 1 -d 0 -p ack -e 40 -c 2 -i 1 -a 2 -x {1.0 0.0 0 -------
null}
+ -t 0.53664 -s 0 -d 1 -p cbr -e 1000 -c 2 -i 2 -a 2 -x {0.0 1.0 0 -------
null}
- -t 0.53664 -s 0 -d 1 -p cbr -e 1000 -c 2 -i 2 -a 2 -x {0.0 1.0 0 -------
null}

-----------

Thanks,

Ganesh


On Tue, 10 Jul 2001, Lloyd Wood wrote:

> Date: Tue, 10 Jul 2001 18:06:48 +0100 (BST)
> From: Lloyd Wood <l.wood@eim.surrey.ac.uk>

> 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.
>
> <L.Wood@surrey.ac.uk>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>
>
>
>