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

[ns] how to use "qtrace" of "monitor-queue"?thanks



hi,everybody,i am learning to monitor queue and know 
"$ns monitor-queue <n1> <n2> <qtrace> <sampleinterval>"
can get the average queue length on the link of n1 and n2.
but i dont know what's meaning of qtrace?
is it a trace file?set by myself?and how to analysis its data?
i had looked some tcl files under ~ns/tcl/ex/asym,
asym.tcl, util.tcl.
but i still dont know how to use it.
for example,
in asym.tcl,
first it set "set qtrace [open q.tr w]"
and then invoke the monitor-queue command,but 
when i "ns asym.tcl", all tr files r lengthed 0 bytes.
why?
how to analysis the file?
how to get the detail of "monitor-queue" command?
thanks for u warm heart!!

Regard

JIN xiaohui