ColinTaylor
Part of the Furniture
So it should now be recording the information every 10 minutes. To see today's disk information use "sar -dh".
sar saves information for each day of the last 31 days. So for example if I wanted to look at data for the last "day 19" (i.e. 19th June) I would use:
sar -dh -f /opt/var/log/sysstat/sa19
Code:
# sar -dh
Linux 2.6.36.4brcmarm (RT-AC68U) 06/22/20 _armv7l_ (2 CPU)
00:00:00 tps rkB/s wkB/s dkB/s areq-sz aqu-sz await %util DEV
00:10:00 0.00 0.0k 0.0k 0.0k 0.0k 0.00 0.00 0.0% mtdblock3
00:10:00 0.02 0.0k 0.2k 0.0k 7.4k 0.00 3.08 0.0% sda
00:20:00 0.00 0.0k 0.0k 0.0k 0.0k 0.00 0.00 0.0% mtdblock3
00:20:00 0.02 0.0k 0.1k 0.0k 5.2k 0.00 5.00 0.0% sda
00:30:00 0.00 0.0k 0.0k 0.0k 0.0k 0.00 0.00 0.0% mtdblock3
00:30:00 0.03 0.0k 0.1k 0.0k 5.6k 0.00 2.00 0.0% sda
00:40:00 0.00 0.0k 0.0k 0.0k 0.0k 0.00 0.00 0.0% mtdblock3
00:40:00 0.03 0.0k 0.1k 0.0k 5.6k 0.00 2.67 0.0% sda
:
:
13:10:00 0.00 0.0k 0.0k 0.0k 0.0k 0.00 0.00 0.0% mtdblock3
13:10:00 0.06 0.8k 0.2k 0.0k 18.0k 0.00 4.71 0.0% sda
Average: 0.00 0.0k 0.0k 0.0k 0.0k 0.00 0.00 0.0% mtdblock3
Average: 0.03 0.0k 0.1k 0.0k 6.0k 0.00 11.12 0.0% sda
sar saves information for each day of the last 31 days. So for example if I wanted to look at data for the last "day 19" (i.e. 19th June) I would use:
sar -dh -f /opt/var/log/sysstat/sa19