Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I change the starting and ending times of the period being analyzed?

analyzed ending period times
0
Posted

How do I change the starting and ending times of the period being analyzed?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123