Hello, I'm working on the awk script used to calculate the network lifetime of a particular network, which is based on the energy reducing to 0, I mean the network dies once one of the cluster head's energy is 0. Could anyone please help me with the awk script or the explanation on how I can calculate the network lifetime, from the trace file any guidance will be appreciated.Thanks a lot in advance.
Thanking you Yours Sincerely, Fatema. P.s: I desperately need this as soon as possible plzzzzzzzzzz.