hi,i want to calculate remaining energy of sensor nodes after every 15 sec during 500 sec simulation. can anyone guide how to do that using awk scripting? i can calculate the remaining energy of the sensor at the end of the simulation from the trace file but have no idea how to get the values after every 15 sec. please guide.regards,najma