How do I change the starting and ending times of the period being analyzed?
A14. This answer assumes that you know a little about shell scripts and how to edit them. If you run ‘sarcheck’, you’ll have to edit the sarcheck script. Edit /usr/local/bin/sarcheck, changing the values of the ST (start time) and EN (end time) variables. Pick starting and ending times that are the times of day when you’re most concerned about performance. Be careful not to include the times of the day when you perform backups, because backup activity is not like most user activity and recommendations will not be optimized for the load put on the system by production activity. If you use the ‘analyze9000’ program to produce SarCheck reports in the /var/adm/sa directory, you’ll have to edit the crontab entry which runs /usr/lib/sa/sa2 , changing the -s and -e switches. Regardless of whether you run ‘sarcheck’ or ‘analyze9000’ to produce a SarCheck report, you should collect data at consistent intervals throughout the monitoring period. By default, sar data is collected every 20 minutes
Related Questions
- The Holter monitor must be worn at all times during the test period which typically ranges from 24 to 48 hours, depending on how long your doctor feels you need to be monitored. What if a patch comes off?
- How do I change the starting and ending times of the period being analyzed?
- Does starting later than 12Z, or ending before 12Z mean an off period?