To generate the CPU report 5 times every 2 seconds, run 1) Generating CPU Report on the Fly 5 times every 2 seconds Without any further delay, let’s deep dive into examples of sar command and see how the reports are generated. $ cat /etc/cron.d/sysstatīelow is the default config file of sysstat (sar command) on RHEL systems.ĭefault Configuartion of sysstat on Ubuntu 22.04/20.04 $ cat /etc/default/sysstat On Ubuntu 22.04/20.04, following cron tab is responsible for generating the report every 10 minutes. On RHEL 8/ RHEL 9, following systemd file is responsible for collecting and generating reports. Once the sysstat service started then sar will start collecting the data every 10 minutes and generate its report daily.
0 Comments
Leave a Reply. |