[Orca-users] RE: Workload format in orcallator.se
Dmitry Berezin
dberezin at surfside.rutgers.edu
Tue Jun 7 10:11:15 PDT 2005
Justin,
Here is what you need to get workload information with orcallator.se -
1. Set and export WORKLOAD_INFO (see examples below)
2. Set and export WORKLOAD_FIRSTMATCH=0 if you want to match each process to
all workloads (optional, default setting is 1)
3. Run orcallator.se with -DWATCH_WORKLOAD to enable workload code
4. Run orcallator.se with -DWORKINFO_PRINT to have your workload settings
printed out for verification (optional)
There are a couple of examples of setting WORKLOAD_INFO in the
workinfo_class.se file (take a look at the Usage notes section). Here are a
few more -
This defines three workloads:
WEB - all httpd processes
JAVA - all java processes owned by user javauser
OTHER - all other processes
Process names (httpd and java) and user name (javauser) are matched as
patterns.
WORKLOAD_INFO="WEB,httpd;JAVA,java, ,javauser;OTHER"
The same as above, but httpd process is matched exactly.
WORKLOAD_INFO="WEB,httpd, , ,1;JAVA,java, ,javauser;OTHER"
The next example collects data for all processes owned by user oracle
(ORACLE), as well as data for different oracle database instances separately
(ORADB1 and ORADB2). In addition it defines NetBackup workload (NB) - all
processes that begin with "bp". Notice that in order to collect data for all
oracle databases together and separately at the same time, you need to set
WORKLOAD_FIRSTMATCH=0 which implies that you can not use OTHER as in the
example above, since it will just catch everything.
WORKLOAD_FIRSTMATCH=0
WORKLOAD_INFO="ORACLE, , ,oracle,1;ORADB1, ,ORADB1,oracle;ORADB2,
,ORADB2,oracle;NB,^bp"
This will just collect process and thread count data for all httpd
processes. Replace the first 1 with a space to change to pattern match if
desire.
WORKLOAD_INFO="WEB,httpd, , ,1,1'
Here is the example of orcallator.cfg file settings -
http://www.orcaware.com/pipermail/orca-users/2005-May/004325.html
I hope this is not too wordy and is what you need. If it is not, feel free
to ask further questions.
-Dmitry.
> -----Original Message-----
> From: orca-users-bounces+dberezin=acs.rutgers.edu at orcaware.com
> [mailto:orca-users-bounces+dberezin=acs.rutgers.edu at orcaware.com] On
> Behalf Of Buhler Justin
> Sent: Tuesday, June 07, 2005 10:39 AM
> To: orca-users at orcaware.com
> Subject: [Orca-users] RE: Workload format in orcallator.se
>
>
> Dmitry,
>
> Can I get an example of the workload format in the orcallator.se
> configuration file.
>
> Cheers.
>
> Justin
>
>
> _______________________________________________
> Orca-users mailing list
> Orca-users at orcaware.com
> http://www.orcaware.com/mailman/listinfo/orca-users
More information about the Orca-users
mailing list