[Orca-users] Orca Workload confusion

Paul Porcelli Paul.Porcelli at scottishwater.co.uk
Mon Feb 5 02:31:49 PST 2007


Hi folks,
I am trying to gather some workload data via Orca and workinfo_class.se,
but having a few problems

I want to get number of processes by a particular user.
See below for example.
I get the list of processes for user orwams. There are 142 processes.

I then setup the workload_info env var. AsI understand it, my syntax is
saying get the number of processes and lwp's only for user orawams.
When I run orcallator, I only see 9 porcesses.

Is there something wrong with my syntax on the env var ?

Thanks again.
Paul

==================
host1 >ps -fu orawams | wc -l

     142
host1 >WORKLOAD_FIRSTMATCH=0

host1 >WORKLOAD_INFO="IMSDEV, , ,orawams, ,1"

host1 >export WORKLOAD_FIRSTMATCH WORKLOAD_INFO
host1 >uroot /opt/RICHPse/bin/se -DWATCH_WORKLOAD -DWORKINFO_PRINT
/usr/local/lib/orcallator.se 10         

Workinfo class is initialized with the following data
Number of workloads = 1, firstmatch = 0 (Match all workloads)
Workload number   1
-------------------
name ....................  IMSDEV
command .................  
args ....................  
user ....................  orawams
exact ...................  0
pset ....................  -1
Only count the number of
processes and threads ...  Yes

timestamp  locltime   uptime state_D state_N state_n state_s state_r
state_k state_c state_m state_d state_i state_t DNnsrkcmdit IMSDEV_cnt
IMSDEV_lwpcnt IMSDEV_lwpmax
1170671112 10:25:12  6732660       2       0       0       0       0
0       0       2       2       0       2 gwwwwwwggwg    9    9    9

Privileged/Confidential information may be contained in this Email and any files transmitted with it. If you are not the intended recipient you should not retain, copy or use this Email for any purpose or disclose all or part of its contents to any person. If you have received this Email in error please notify the postmaster and sender immediately and delete this Email from your system. 

Opinions, conclusions and other information in this message that do not relate to the official business of Scottish Water ("SW") and / or Scottish Water Solutions Ltd ("SWS") 
shall be understood as neither given nor endorsed by them. The contents of Emails sent and 
received by SW and SWS are monitored.

WARNING: Although SW and SWS have taken reasonable precautions to ensure no viruses or other 
malicious software are present, SW and SWS cannot accept responsibility for any loss or 
damage arising from the use of this Email or attachments however caused. The recipient 
should therefore check this Email and any attachments for the presence of viruses or other 
malicious software.

Scottish Water
www.scottishwater.co.uk
www.scottishwatersolutions.co.uk
postmaster at scottishwater.co.uk





More information about the Orca-users mailing list