[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Queue Monitoring
Morning,
Page 73 of the NS manual, I spotted a couple variables i could query
regarding queue state so i wrote this little piece of code :
$ns monitor-queue $n2 $n3 size_ pkts_ barrivals_ bdepartures_ parrivals_
pdepartures_ bdrops_ pdrops_ bytesInt_ pktsInt_
which generated an error
The following 2 lines didnt generate any error :
$ns monitor-queue $n2 $n3 size_ pkts_
OR
$ns monitor-queue $n2 $n3 barrivals_ bdepartures_
It appears I can only monitor 2 variables at the same time ... Did i do
something wrong or is that a limitation in NS ?
Now i've managed to set up a queue monitoring object ... but how do i get
values of the variables ?
Should i retrieve those values in the same way its done for LossMonitor ?
like this
set lost0 [$sink0 set nlost_] ?
Please help me i'm clueless
Thomas