[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Queue size problem.
Try $ns_ monitor_queue $n1 $n2
your will get size_ as well as pdrop_ parrivals_ pdepartures_ etc.
On Sun, 9 Apr 2000, Hassan Mansouri wrote:
>
> Dear ns users,
>
> I am trying to get the instantaneous size of a queue, I tried this:
>
> set q [[$ns link $n1 $n2] queue]
> set qsize [$q set size_]
>
> but I got the error message: can't read "size": no such variable.
>
> Can someone help me find the instantaneous queue size.
>
> Thanks alot.
>
> Hassan.
>