[Orca-users] RE: Workload format in orcallator.se

Buhler Justin justin.buhler at torino2006.it
Wed Jun 8 08:38:11 PDT 2005


Thanks for the explanation !!!! Just another clarification about the cfg file. When you list the following:

data                    (.*)_usr% / ncpus
data                    $1_sys% / ncpus
data                    $1_cpwt% / ncpus
data                    $1_pgwt% / ncpus

You are dividing the result by the Number of CPU's to get the per CPU usage time? Is this because kstat is providing the total % of the sum of the cpus available.

This is a question/clarification?

Justin

-----Original Message-----
From: Dmitry Berezin [mailto:dberezin at surfside.rutgers.edu] 
Sent: Tuesday, June 07, 2005 7:11 PM
To: Buhler Justin; orca-users at orcaware.com
Subject: RE: [Orca-users] RE: Workload format in orcallator.se

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



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.5 - Release Date: 6/7/2005
 




More information about the Orca-users mailing list