[ns] monitor-queue wrong!

heyuyou jtree2008 at 163.com
Sat Mar 11 19:52:37 PST 2006


hello,everyone,i want to add a monitor queue to ns,but it works not well,what's wrong with it?
the tcl is:

set qf [open qwf.tr w]
set qt [$ns trace-queue $n0 $n2  $qf]
set qm [$ns monitor-queue $n0 $n2  $qt]
#the up three works well,but the next is wrong:
puts [$qm pdrops_]//here i want to account the drop packets




More information about the Ns-users mailing list