We had sar
working on our Ubuntu server, but did some work on the server and now it's stopped logging to the day's logfile.
sar -b 5 5
This indicates that sar
is alive, and monitoring data, but
ubuntu@testing:/var/log/sysstat$ sar
outputs:
Linux 5.4.0-1063-azure (server) 02/22/22 _x86_64_ (4 CPU)
10:22:05 LINUX RESTART (4 CPU)
10:22:46 LINUX RESTART (4 CPU)
10:24:25 LINUX RESTART (4 CPU)
16:34:04 LINUX RESTART (4 CPU)
The cron and the sysstat
config have not changed.
*/1 * * * * root command -v debian-sa1 > /dev/null && debian-sa1 1 1
Why isn't stats data getting added to the log?