Rich Smrcina wrote:
I'm trying to get smoothed CPU Utilization info from z/OS (eg: over
the previous 5 minutes). Both MXI and SDSF appear to show
instantaneous CPU Utilization which is very spikey. Can either of
these facilities be tailored to smooth out the number, or is there
another facility (preferably provided with the system) that can tell
me this info (and that I can get at with REXX)?
If that's all a bust, is there some storage path I can take to get
system CPU Usage? If I have to get a CPU seconds number, save it and
calculate the difference from the previous one, that's fine. I've
found a couple of examples for address spaces, but I want the whole
system.
Do you have more than one LPAR running on the same CEC? If not, it's
possible to get what you want from inspection of the MVS LCCA control
blocks. (Of course, you're *supposed* to be locked to access them.
That's something you can't do in REXX.) Otherwise, you'll need to invoke
a monitor interface such as ERBSMFI. But, that interface returns CPU
averaged over some fairly short interval (5 seconds)? I suppose you
could average those values yourself over time.
--
Edward E Jaffe
Phoenix Software International, Inc
5200 W Century Blvd, Suite 800
Los Angeles, CA 90045
310-338-0400 x318
[EMAIL PROTECTED]
http://www.phoenixsoftware.com/
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html