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

2010-09-08 Thread pangpang
Hi all, 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

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

2010-09-08 Thread pangpang
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

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

2010-09-08 Thread pangpang
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

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

2010-09-08 Thread pangpang
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

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

2010-09-08 Thread pangpang
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

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

2010-09-08 Thread pangpang
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

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

2010-09-08 Thread pangpang
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

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

2010-09-08 Thread pangpang
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

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

2010-09-08 Thread pangpang
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

[ns] how to avoid large trace file?

2010-08-29 Thread pangpang
Hi all, I need to do simulation on a large network running for a long time. In this case the trace file will be too large to store and also difficult to deal with during post-processing. I tried to use queue-monitor, but it only helps give me delay and drop rate analysis on queues, rather than