[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please Help



Hi Emad,

> Hi,
> 
>   I have few questions, and help is appreciated:
> 
>     - The fields in out.tr, where can I find the definition of each
> field?

see the ns-2 manual (http://www-mash.CS.Berkeley.EDU/ns/ns-man.html), section 
"trace and monitoring methods"

>     - How can I obtain the THROUGHPUT output in pkts/sec or bytes/sec
>       for my tests?

Attach a QueueMonitor to the link for which you wish to acquire throughput info and calculate the throughput of the link like this:

    set throughput [expr [$qm set pdepartures_]/[$ns now]]

(qm is the queue-monitor instance).

    -Chris.