Sample Header Ad - 728x90

How should I run sysstat / sar to get a reading for 00:00:00 in same day data file

0 votes
1 answer
216 views
I was trying the below entries to get the sar information for every 5 minutes including the 00:00:00 (midnight) data. 0 * * * * root /usr/lib64/sa/sa1 300 6 */5 1-22 * * * root /usr/lib64/sa/sa1 1 1 0,5,10,15,20,25,30,35,40,45,50,55 23 * * * root /usr/lib64/sa/sa1 1 1 55 23 * * * root /usr/lib64/sa/sa1 300 2 5,10,15,20,25,30,35,40,45,50,55 0 * * * root /usr/lib64/sa/sa1 1 1 But the above command adds the midnight data at end of the previous daily data file. I want to get the reading of 00:00:00 midnight entry in the same day file.
Asked by whiterose (1089 rep)
May 20, 2021, 06:14 AM
Last activity: May 20, 2021, 07:17 AM