Sar was originally developed for the Unix System V operating system; it is available in AIX, HP-UX, Solaris and other System V based operating systems but it is not available for macOS or FreeBSD. Prior to 2013 there was a bsdsar tool, but it is now deprecated.2
Most Linux distributions provide sar utility through the sysstat package.
Additional to sar command, Linux sysstat package in Debian,3 RedHat Enterprise Linux and SuSE provides additional reporting tools:
"SYSSTAT". sebastien.godard.pagesperso-orange.fr. http://sebastien.godard.pagesperso-orange.fr/man_sar.html ↩
"FreshPorts -- sysutils/bsdsar: System Activity Reporter for FreeBSD". www.freshports.org. https://www.freshports.org/sysutils/bsdsar ↩
"Debian -- Details of package sysstat in sid". packages.debian.org. https://packages.debian.org/sid/sysstat ↩
"sag(1)" (PDF). SUNOS Reference Manual. Mountain View, California: Sun Microsystems. 1993-02-24. pp. 1–895. Retrieved 2010-05-04. sag - system activity graph [...] DESCRIPTION sag graphically displays the system activity data stored in a binary data file by a previous sar(1) run. https://www.filibeto.org/sun/lib/solaris2.5-docs/40.3/802-1930-01.pdf ↩