View previous topic :: View next topic |
Author |
Message |
s_shivaraj Beginner

Joined: 21 Sep 2004 Posts: 140 Topics: 14 Location: Chennai, India
|
Posted: Fri Sep 18, 2009 12:19 am Post subject: CPU usage |
|
|
Hi,
Using Rexx, is there any way i can get the CPU usage thats is displayed in the "Display Active" panel of SDSF. Basically i want to get the CPU usage of different LPAR's in my site from one of the LPAR.
Other than REXX is also fine for me.. _________________ Cheers
Sivaraj S
'Technical Skill is the Master of complexity, while Creativity is the Master of Simplicity' |
|
Back to top |
|
 |
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
Posted: Fri Sep 18, 2009 12:31 am Post subject: |
|
|
Hi,
Suggest you get in touch with System Support group at your site, they must be having this kind of report in place already. _________________ Regards,
Anuj |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Sep 18, 2009 3:00 pm Post subject: |
|
|
I agree with Anuj. Also not sure what you mean by CPU usage. Overall utilization at a given time? Use by a particular job or set of jobs? cumulative use? Number of processors in service? Unlikely this can be done from Rexx directly but if SDSF shows it, you can use Rexx to get it from SDSF. See the SDSF books for version 1.9 or later for a Rexx command interface to SDSF. _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html. |
|
Back to top |
|
 |
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
Posted: Sat Sep 19, 2009 9:03 am Post subject: |
|
|
Unless you are from system capacity team -- I wonder why do you want to know CPU usage (?) for an entire LPAR.
Being an application engineer, my concerns are limited to CPU used by a particular job or set of jobs as semigeezer has said.  _________________ Regards,
Anuj |
|
Back to top |
|
 |
s_shivaraj Beginner

Joined: 21 Sep 2004 Posts: 140 Topics: 14 Location: Chennai, India
|
Posted: Sat Sep 19, 2009 9:56 am Post subject: |
|
|
Anuj Dhawan wrote: | I wonder why do you want to know CPU usage (?) for an entire LPAR. | Its just that i can route my job to the LPAR where it can run soon, if the usuage is more then i have high chances my job is going to take some time to get the initiator, its just my probabilty goes high if i submit the job where the CPU usage is low.. _________________ Cheers
Sivaraj S
'Technical Skill is the Master of complexity, while Creativity is the Master of Simplicity' |
|
Back to top |
|
 |
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Sat Sep 19, 2009 12:33 pm Post subject: |
|
|
As far as I know, there is no relationship between CPU usage and the availability of an initiator. Availability depends upon current work load and the assignments of the various job classes to the initiators at any given moment. In addidition, some shops change the "job class-to-initiator" assignments at the end of normal business hours anyway. I'd suggest some other method of attempting to have your job run sooner. Is this a test or production job? _________________ ....Terry |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Sat Sep 19, 2009 1:53 pm Post subject: |
|
|
If you are looking for initiators, there are probably Rexx execs around that look for that information. I know I've written them in the past and probably published some in some newsgroup or other. Other people have as well. Of course, you need to be able to run that on another system and that would normally require an initiator, so that would defeat the purpose here. If you have access to the initiator list in SDSF, use that.
Just be sure that you always submit the job in the job class you are authorized to use for your type of job or you could get people complaining. _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html. |
|
Back to top |
|
 |
|
|