Il giorno lun, 27/02/2006 alle 13.54 +0530, A Anupama ha scritto: > I want to count the no.of cbr packets dropped. For that what I have to > use in the place 'granularity' and what is 'node'. ?
First: *please* answer to the list, not directly to my address. You aren't the only one interested in this topic. Second: have you read the manual I suggested you? It says: «The program averages the throughput over periods defined by a parameter called "granularity". As input it takes three arguments: the name of a trace file (e.g. out.tr), the node at which we wish to check the throughput [of TCP], and the granularity» Third: if you have just a CBR source (on a UDP agent) and you want to monitor the *global* loss, use my script in a way simliar to: ./throughput.pl out.tr any 0.1 udp Note that if you have several type of traffic (TCP, UDP, etc ...) in your simulation my script it's not what you need: write your own. Fourth: RTFS! http://www.catb.org/~esr/jargon/html/R/RTFS.html -- :::: Emanuele Vecchio :::: Happy Debian GNU/Linux User ::::: [EMAIL PROTECTED] ::::::