This is weird. When selecting SAR data per minute over a period of 24 hours the 59th minute of every hour is not displayed/calculated! Who has any idea about the cause and if it can be solved?!
00:57:01 all 1,77 4,30 0,66 0,00 0,00 93,26
00:58:01 all 2,04 4,63 0,70 0,00 0,00 92,63
01:00:01 all 1,82 4,45 0,68 0,00 0,00 93,06
01:01:01 all 3,25 8,72 1,10 0,01 0,00 86,92
01:57:01 all 2,16 5,34 0,79 0,00 0,00 91,70
01:58:01 all 2,24 5,07 0,77 0,00 0,00 91,92
02:00:01 all 2,19 5,35 0,80 0,00 0,00 91,66
02:01:01 all 2,54 6,31 0,91 0,00 0,00 90,23
Thanks for all the explanation and examples.
After playing around with it to generate reports over the previous day I came to the conclusion that when using the -f and -i option and -s 00:00:00 and -e 23:59:59 the last interval up to midnight is not reported on. In the example below the report goes up to 23:30:01. To me this means the period between 23:30 and 00:00(midnight) is not reported on.
I assume that the time displayed in the report is the end of the interval reports on.
Is there a way to show also the data for the last interval?
Thanks in advance for any help
[wlpfo@tqmode27x] as $ sar -i 1800 -f /var/log/sa/sa01 -s 00:00:00 -e 23:59:59 -u -t
Linux 3.10.0-1127.19.1.el7.x86_64 (server) 01/01/21 _x86_64_ (8 CPU)
00:00:01 CPU %user %nice %system %iowait %steal %idle
00:30:01 all 1.31 0.03 0.54 0.00 0.00 98.12
01:00:01 all 1.29 0.03 0.54 0.00 0.00 98.14
01:30:01 all 1.30 0.11 0.56 0.00 0.00 98.02
. . .
. . .
22:00:01 all 1.30 0.03 0.54 0.00 0.00 98.12
22:30:01 all 1.30 0.03 0.54 0.00 0.00 98.13
23:00:01 all 1.33 0.03 0.50 0.00 0.00 98.14
23:30:01 all 1.31 0.03 0.49 0.00 0.00 98.17
Average: all 1.31 0.03 0.53 0.00 0.00 98.13
Best regards!
]]>It is to see the highest points of consumption.
Thank you
]]>I got results if I use “sar 2 6” . This works perfectly fine.
But if I just say sar , it shows “LINUX RESTART” message.
The file in /etc/cron.d/sysstat looks fine to me. Not sure whats the issue? Anyone has the same issue?
Thanks
Anjum