[ns] how to use $ns create-trace type file src dst op

pangpang jellywong at gmail.com
Wed Sep 8 21:02:22 PDT 2010


Can anyone help me in using this command? 

Suppose my topology is 
s0
  \\
  r1==r2==d0
 //
s1

I don't know where I should put this command in my script. If I want to get
statistics of drops btw link s0 and d0, should I do things like:

set ns [new Simulator]
$ns create-trace Drop file s0 d0

and then the creating nodes, links, sources part?

I think I missed something... also, what should the "file" be?

Thanks for any advice!
-- 
View this message in context: http://old.nabble.com/how-to-use-%24ns-create-trace-type-file-src-dst-op-tp29646999p29646999.html
Sent from the ns-users mailing list archive at Nabble.com.


More information about the Ns-users mailing list