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

Flowmon objects



Hi,
 I' m trying to collect per-flow statistics using a Flow monitor
object.....I must admit quite unsuccessfully ...because the output
file, which should contains the statistics, is empty.
This is my piece of code. I' m positive there are many mistakes. But
from  the manual pages  it' s difficult for me to understand exactly
what I've to do.

set fmon [new QueueMonitor/ED/Flowmon]
set cl [new Classifier/Hash/SrcDestFid 33]
$fmon classifier $cl
set frt1 [open frt1.out w]
$fmon attach $frt1
$ns at 5.0 "$fmon dump"

Could you help me , please?

Thanks a lot ,

Sara