Need clarification on the sar -u command details
I have few scripts scheduled to run at the same time in the cron job.
The scripts are to basically executed to capture the following:
1. vmstat 1 10
2. mpstat 1 10
3. iostat 1 10
4. prstat 1 10
5. sar -u 1 10
6. sar -r 1 10
I found that the first record captured has less %idle compared to the other 9 times as per the sample below. Can anyone tell me if this is normal or is there anything wrong? Could this be due to the fact that when we run all the above cron job together, the CPU utilization is affected for the first reading? Please help.
SunOS DCWEBFES03 5.9 Generic_118558-04 sun4u09/08/2006
23:00:00%usr%sys%wio%idle
23:00:01714079
23:00:02000100
23:00:0302098
23:00:0401099
23:00:0501099
23:00:0601099
23:00:0701099
23:00:0801099
23:00:0910099
23:00:1001099
Average12097
Fri Sep 8 23:10:00 WIT 2006
SunOS DCWEBFES03 5.9 Generic_118558-04 sun4u09/08/2006
23:10:00%usr%sys%wio%idle
23:10:01514081
23:10:0201099
23:10:0310099
23:10:0401099
23:10:05000100
23:10:0601099
23:10:0701099
23:10:0811098
23:10:0902098
23:10:1001099
Average12097
Fri Sep 8 23:20:00 WIT 2006
SunOS DCWEBFES03 5.9 Generic_118558-04 sun4u09/08/2006
23:20:00%usr%sys%wio%idle
23:20:01811081
23:20:0201099
23:20:0301099
23:20:0401099
23:20:0501099
23:20:06000100
23:20:0701099
23:20:08000100
23:20:0901099
23:20:1001099
Average12097
Fri Sep 8 23:30:00 WIT 2006
SunOS DCWEBFES03 5.9 Generic_118558-04 sun4u09/08/2006
23:30:00%usr%sys%wio%idle
23:30:01712081
23:30:0201099
23:30:0301099
23:30:0402098
23:30:0501099
23:30:06000100
23:30:0701099
23:30:0801099
23:30:0901099
23:30:1001099
Average12097
Fri Sep 8 23:40:00 WIT 2006
SunOS DCWEBFES03 5.9 Generic_118558-04 sun4u09/08/2006
23:40:01%usr%sys%wio%idle
23:40:02912079
23:40:0301099
23:40:0401099
23:40:0501099
23:40:06000100
23:40:07000100
23:40:0801099
23:40:0901099
23:40:1001099
23:40:11000100
Average12097
Fri Sep 8 23:50:00 WIT 2006
SunOS DCWEBFES03 5.9 Generic_118558-04 sun4u09/08/2006
23:50:00%usr%sys%wio%idle
23:50:01612082
23:50:0223095
23:50:0302098
23:50:0402098
23:50:05000100
23:50:0601099
23:50:07000100
23:50:0801099
23:50:0901099
23:50:1001099
Average12097

