Count the number of sent packets at the agent or router layer
Cat trace.tr | grep ^s | grep AGT | grep <source node> Use " awk ' { if ($6 == 9999) print } ' " to filter based on certain fields Pedro Vale Estrela > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Schuenemann Bjoern > Sent: quarta-feira, 6 de Dezembro de 2006 15:58 > To: ns-users@ISI.EDU > Cc: Blueher Andreas > Subject: [ns] How to measure overhead with ns2? > > > Hello, > > I'm trying to figure out how i can measure the created overhead which > occured in a network simulation. Actually we are trying to compare a new > idea of detecting malicious nodes with other old-fashion ways. One of our > metrics is the created overhead. > > Assume we have a network with 100 nodes and 20 of them behave unnormally > like dropping all data packets. How many packets have to be resended, > until every packet reaches the destination at least once. How can we > measure how many packets had to be transmitted overall to find out how > much overhead occured? > > Thank you very much for your help! > > Best Regards, > Björn > > --------------------------------------------------------- > > Dipl.-Inform. Björn Schünemann > > Hasso-Plattner-Institut für Softwaresystemtechnik GmbH > Institut an der Universität Potsdam > Postfach 900460, D-14440 Potsdam, Germany > http://www.hpi.uni-potsdam.de <http://www.hpi.uni-potsdam.de/> > > Phone: +49(0)331 5509 520 > WWW: http://www.schuenemann.name/ <http://www.schuenemann.name/> > > --------------------------------------------------------- > > >