The utility sar is part of the sysstat package. Note the double ‘s’. Most articles/documentation state that the jobs should be run using cron. On Raspbian buster and Ubuntu 22.04 this no longer works, the utilities work, but the historical database is not collected nor stored. These systems require that systemd run the collector.
Read moreLinux Performance Monitoring
Today, sar, it seems is not part of the Debian distros, one needs to install the package sysstat.
Read more