Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /etc/cron.daily/ |
Upload File : |
#!/bin/sh # Generate a daily summary of process accounting. Since this will probably # get kicked off in the morning, it is run against the previous day data. set -e # Our configuration file DEFAULT=/etc/default/sysstat # Default settings, overridden in the above file ENABLED=false # Skip in favour of systemd timer [ ! -d /run/systemd/system ] || exit 0 [ -x /usr/lib/sysstat/sa2 ] || exit 0 # Read our config [ -r "$DEFAULT" ] && . "$DEFAULT" [ "$ENABLED" = "true" ] || exit 0 exec /usr/lib/sysstat/sa2 -A