[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] How to measure the queue length at a node?
On Wednesday 01 August 2001 13:27, zhilin su wrote:
> Hi, all,
>
> I am new to NS. But I have a simple question as
> follows:
>
> I built a topology with 3 nodes as a line. Then I
> attached a UDP agent with a Expoo traffic generator to
> one end of it and a Null sink to the other. When the
> network running, how can I measure the queue length at
> the middle node? Thanks
Use a Queue Monitor. Described in chapter 22 of the ns Manual,
section 22.6 specifically.
You will probably need a "record" function. See Marc Greis'
tutorial, section "VIII. Creating Output Files for Xgraph". The
whole tutorial is available at:
http://www.isi.edu/nsnam/ns/tutorial/
--
Brian Lee Bowers | RADIANT Team (Summer Intern)
bowersb@lanl.gov | Los Alamos National Laboratory