[Orca-users] Re: Modifying orca graph rebuilds
Blair Zajac
blair at orcaware.com
Wed Apr 3 11:54:18 PST 2002
Darren Dunham wrote:
>
> I've inherited a running orca config, and I'm not up to speed on it
> yet.
>
> Currently, it's responsible for most of the load on an Ultra 5. I'd
> like to add quite a few more machines to it, so I need to reduce the
> load a bit. It runs out of crontab as below.
>
> # Orca
> 2,7,12,17,22,27,32,37,42,47,52,57 * * * * /usr/local/orca/bin/orca -o /usr/local/orca/lib/orcallator.cfg &
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/orca/bin/orca -o /usr/local/orca/lib/windows.cfg &
These are not ideal. The -o option means to have Orca quit after
processing all of the data. This wastes a lot of CPU time to start up.
It's better to keep Orca running continuously instead.
>
> I'd like to only rebuild the graphs once an hour, but continue to
> collect data every 5 minutes. Would this do the job?
>
> 7,12,17,22,27,32,37,42,47,52,57 * * * * /usr/local/orca/bin/orca -r /usr/local/orca/lib/orcallator.cfg &
> 5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/orca/bin/orca -r /usr/local/orca/lib/windows.cfg &
> 2 * * * * /usr/local/orca/bin/orca -o /usr/local/orca/lib/orcallator.cfg &
> 0 * * * * /usr/local/orca/bin/orca -o /usr/local/orca/lib/windows.cfg &
The orcallator.se process is the one that measures the data. Orca just
plots it. So you would just want the last two lines.
>
> Is that all I need, or should I be looking at a different technique?
Try setting Orca up so there's only one persistent process for each
configuration file you have.
Best,
Blair
--
Blair Zajac <blair at orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
More information about the Orca-users
mailing list