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

Re: [ns] about ns question




Use a queue monitor.  The state variable size_ gives you the instantaneous
size of the Queue.

you could say
	set qmon [$ns_ monitor-queue $node_(1) $node_(2) ""]

Now, the variable size_ would give you the instantaneous size of the
Queue.  Hope this answers your question.

__Sridhar__

On Tue, 13 Feb 2001, yulu wrote:

* >Dear 
* >   How to get the queue's length of congestion link thought tcl script? In other words, how to get the value of Queue::qp_->length() by tcl script.
* >
* >
* >Yours Sincerely
* >Yan Hu
* >[email protected]
* >
* >