sample frequency and count for sar
2007-12-25 1:54:00
I am building a set of scripts that will collect and display performance data from our Sun servers.
One of the counters I'll collect is produced by sar,
like this: "/usr/bin/sar < /usr/lib/sa/sadc 1 1"
This command would run every 5,10 or 20 minutes or so, output is stored in a database.
Question is this:
Instead of just taking one sample every time this command runs, would it be more meaningful to
take the average over let's say half a minute or a minute, as in
"/usr/bin/sar < /usr/lib/sa/sadc 6 10"
I'll build a history for at least a year, which will be used to produce trends by performing
simple linear regressions. Is it possible to say which method of collecting data would produce
more reliable results?
Regards Oscar
--
__________________________________________________________
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers
Comments
Got something to say?
You must be logged in to post a comment.

