Re: [ns] calculating throughput using AWK

2007-03-27 Thread salcaraz
Hi, Below I have write my awk script to calculate throughput. The columns that you need are: column 7: TCP bytes sent column 8: interval then the throughput is column7/column8 And, this script also calculates: bytes drops, packets drops, bytes arrivals als packets arrivals. I'm sorry,

Re: [ns] calculating throughput using AWK

2007-03-27 Thread wacky
could you please tell me how to execute this file, i mean exactly what command should i type in, i saved this file as throughput.awk... then i changed the cat out.tr ( from $TMP/out.tr | perl column 3 0 2 1 | sort -g | ) to nodes.tr i tried awk -f throughput.awk outfile the I tried the command