ok i will make it more clear.
Quote:
Host CPU CPUtotal CPU% time
ABC 101.1 2 50.55 14 : 15
ABC 100.5 2 50.25 14 : 15
ABC 100.2 2 50.1 14 : 15
ABC 100.9 2 50.45 14 : 30
ABC 100.5 2 50.25 14 : 30
|
I would like to take above file as input .
Notice that for every 15 minuate interval there are some entries generated.
for example : for 14:15 there are 3 entries .
for 14:30 there are 2 entries.
I would like to get average of cpu% considering time.
say.
Quote:
ABC 100.6 2 50.3 14 : 15
ABC 100.7 2 50.33 14 : 30
|