[ns] "Accessing Queue Length from Tcl Script"

Rana Alhalimi raneem31 at yahoo.com
Mon Jan 23 00:03:16 PST 2006


Hi Everybody,

I am trying to access the queue length information of
a node from the tcl script. I am using Priority Queue
(Queue/DropTail/PriQueue).

The thing is I can get the queue length (Number of
packets in the queue) from the C++ code but it is not
associated with specific node ... So I get bunch of
numbers....But I need the length for each node every
second so somehow I want to write the variation of
queue length for each node to a file.

Does anybody have an idea how to do that.....Help appreciated

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Ns-users mailing list