[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Quesion about flow monitors
Hi all
I am using the following code fragment:
set q [new QueueMonitor/ED/Flow]
$q set flowid_ 151
set q [$ns monitor-queue $n8 $n13 0]
I have a flow to which I have assigned the flowid_ 151.
I want to monitor the number of packets belonging to this flow, being
dropped in the link between nodes n8 and n13. That's why I am using the
previous code fragment.
when I do
puts "q arrived [$q set parrivals_] departed [$q set pdepartures_] droped
[$q set pdrops_] "
what I get is the total number of packets dropped in this link for all
flows.Do you have any idea why this happens?How can I correct it?
Thanks
Ayis
--
"Provability is a weaker notion than truth, no matter what axiom system is
involved ... "
Kurt Godel (1906-1978)