[ns] flow monitor

mohammed sami sami_aslam2001 at yahoo.co.uk
Tue Apr 26 08:30:48 PDT 2005



Hi

I am using the following topology:

src-tcp--------
               \
                ------queue-----dest
src-udp--------/

After receiving the aggregate stats at the dest, I
just want to analyse the results for the flowid 1 ie
(udp)

I used the following method but it gives me the stats
for both the types of traffic.

set q [new QueueMonitor/ED/Flow]
$q set flowid_ 1
set q [$ns monitor-queue $e2 $dest1 0.1]

I even tried using the classifier and flowmon, that
did not work either. I have to hand in my coursework
soon. I would be really grateful if anyone could send
me the code for calculating the stats for a particular
flowid. 

P.S I am calculating stats for drops, qsize and
received packets.

Thanks in advance

Sami

Send instant messages to your online friends http://uk.messenger.yahoo.com 



More information about the Ns-users mailing list