Comments on: Generate CPU, Memory and I/O Report using SAR command https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/ Thu, 16 Jun 2022 05:54:09 +0000 hourly 1 By: Edwin Nieuwpoort https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/#comment-30495 Wed, 23 Mar 2022 16:19:05 +0000 http://www.linuxtechi.com/?p=3567#comment-30495 Hello,

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

]]>
By: Hesham https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/#comment-22738 Wed, 27 Jan 2021 15:13:13 +0000 http://www.linuxtechi.com/?p=3567#comment-22738 Thanks for sharing this useful information.

]]>
By: Edwin Nieuwpoort https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/#comment-22712 Fri, 22 Jan 2021 10:09:59 +0000 http://www.linuxtechi.com/?p=3567#comment-22712 Hi,

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

]]>
By: MAURICIO NARANJO NARVAEZ https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/#comment-22191 Fri, 30 Oct 2020 04:53:55 +0000 http://www.linuxtechi.com/?p=3567#comment-22191 Very good article! Thanks a lot for sharing your knowldge and keep workin on!

Best regards!

]]>
By: Nishant Kumar Pandey https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/#comment-22042 Mon, 19 Oct 2020 13:33:54 +0000 http://www.linuxtechi.com/?p=3567#comment-22042 Great details ! Thank you !

]]>
By: Umair Khan https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/#comment-20944 Tue, 07 Jul 2020 12:11:35 +0000 http://www.linuxtechi.com/?p=3567#comment-20944 can we get whole month data in one file and upload in ksar ?

]]>
By: Mit https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/#comment-19633 Fri, 10 Apr 2020 00:35:45 +0000 http://www.linuxtechi.com/?p=3567#comment-19633 With which command can I see or generate a file (report) only the use of a full day of use, only the CPU, RAM and Internet Consumption?

It is to see the highest points of consumption.

Thank you

]]>
By: Jayanth Reddy https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/#comment-15788 Wed, 09 Oct 2019 16:39:45 +0000 http://www.linuxtechi.com/?p=3567#comment-15788 Can some please explain what indicates 4 and 4 in this command sar -d -p 2 4

]]>
By: sainath https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/#comment-15498 Wed, 02 Oct 2019 04:49:20 +0000 http://www.linuxtechi.com/?p=3567#comment-15498 command to generate the SAR report for the last one month

]]>
By: Anjum Yaseen https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/#comment-13179 Fri, 09 Aug 2019 14:51:47 +0000 http://www.linuxtechi.com/?p=3567#comment-13179 Hi,

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

]]>