[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Link util
Does anybody know how to get link util stats on a bottleneck link
using several end servers and clients with the following queue monitors on
the bottleneck buffers:
# next, I want a queue monitor on both queues going in the direction
# of the test flow
set qt1 [open $q1filename w]
set qt2 [open $q2filename w]
set qm1 [$ns monitor-queue $n(0) $n(1) $qt1]
set qm2 [$ns monitor-queue $n(1) $n(0) $qt2]
set link1 [$ns link $n(0) $n(1)]
set q1 [$link1 queue]
set link2 [$ns link $n(1) $n(0)]
set q2 [$link2 queue]
$link1 init-monitor $ns $qt1 0.05
$link2 init-monitor $ns $qt2 0.05
#set qm1 [$link1 set qMonitor_]
#set qm2 [$link2 set qMonitor_]
}
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com