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

Re: [ns] multiple flows




Hi, I am already doing that. However, when I try to work on 201 flows for
example, it throws an exception at flow 199.

Regards,
Apu

> I don't think you cannot access a flow monitor object using list operators
> such as lindex. You need to obtain a list of flows first with:
> 
> set flowlist [$flowmon flows]
> 
> and then you will be able to work with the list in the way you wanted:
> 
> set flowmon_id [lindex $flowlist $i]
> puts $dropfile "[$flowmon_id set pdrops_]
> 
> -- Felix Hernandez
>