Results 1 to 2 of 2
Following is a output of command which shows cpu% of ABC machine (15 minute interval).
Code:
Host CPU% time
ABC 50.55 14 : 15
ABC 50.25 14 : 15
ABC ...
- 03-25-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 17
Scripting Help needed.
Following is a output of command which shows cpu% of ABC machine (15 minute interval).
I would like to take above file as input .Code:Host CPU% time ABC 50.55 14 : 15 ABC 50.25 14 : 15 ABC 50.1 14 : 15 ABC 50.45 14 : 30 ABC 50.25 14 : 30
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.
How would i achieve this?Code:ABC 50.3 14 : 15 ABC 50.33 14 : 30
Last edited by pinga123; 03-25-2011 at 05:45 AM.
- 03-25-2011 #2


Reply With Quote