Sample Header Ad - 728x90

atop is not logging daily

0 votes
1 answer
185 views
I installed atop on Rocky 9 to monitor CPU spike issues. On 2/8/2024 (2 days ago) I enabled and started atop: systemctl enable atop systemctl start atop Thus, a file was created in /var/log/atop named atop_20240802. journalctl -u atop output: Aug 02 23:52:01 systemd: Starting Atop advanced performance monitor... Aug 02 23:52:01 systemd: Started Atop advanced performance monitor. I updated the config file /usr/share/atop/atop.daily: #!/usr/bin/sh LOGOPTS="" # default options LOGINTERVAL=3600 # default interval in seconds LOGGENERATIONS=7 # default number of days LOGPATH=/var/log/atop # default log location # allow administrator to overrule the variables # defined above # DEFAULTSFILE=/etc/sysconfig/atop # possibility to overrule vars ls -ld /var/log/atop/ output: drwxr-xr-x 2 root root 53 Aug 2 23:53 /var/log/atop/ Daily logs were not created for yesterday and today. How to fix it?
Asked by user25934652 (1 rep)
Aug 4, 2024, 03:49 AM
Last activity: Aug 20, 2024, 11:54 AM