Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

iSeries CPU Info

1,097 views
Skip to first unread message

Ben Hoover

unread,
May 4, 2012, 10:44:46 AM5/4/12
to
How can I get information regarding the CPU in an iSeries (i.e.
processor type, model, speed, etc.)?

CRPence

unread,
May 4, 2012, 1:04:20 PM5/4/12
to
On 04 May 2012 07:44, Ben Hoover wrote:
> How can I get information regarding the CPU in an iSeries (i.e.
> processor type, model, speed, etc.)?

Visiting the i5/OS v5r4 InfoCenter, for example, and typing in the
"Search: retrieve CPU model processor type" yielded the "Materialize
Resource Management Data (MATRMD)" MI instruction, which conveniently
was what I was looking for to help me find the API that returns much of
that information; using the instruction is sensitive to release changes.
Also in the list was "Retrieve System Values (QWCRSVAL) API" which
gives some of the information; e.g. QMODEL and QPRCFEAT.

Having less luck than I expected with a new search on MATRMD [surely
better luck on the web; APIs and that instruction I recall have been
discussed in messages], I typed in the Search: "retrieve processor API"
to reveal more of what I was expecting; some included in the list were:

Retrieve Partition Information (dlpar_get_info) API
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/dlpar_get_info.htm

Retrieve Hardware Resource List (QGYRHRL, QgyRtvHdwRscList) API
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qgyrhrl.htm

Retrieve Hardware Resource Information (QGYRHRI, QgyRtvHdwRscInfo) API
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qgyrhri.htm

The above may be useful. However I do not recall anything that gives
a speed, e.g. "clock speed", perhaps due to implementation whereby the
CPU may be contained by an effective governor to achieve model
differentiation. Within the progression of Power Systems as the
underlying hardware, that may be less prevalent or gone away.? The
newer release InfoCenter docs may reveal more and different... I merely
chose v5r4 because that was already open in my browser.

Regards, Chuck

Jonathan Ball

unread,
May 4, 2012, 5:38:56 PM5/4/12
to
On 5/4/2012 7:44 AM, Ben Hoover wrote:
> How can I get information regarding the CPU in an iSeries (i.e.
> processor type, model, speed, etc.)?

I think most of that info (maybe not CPU clock speed) is available in
the hardware management console (HMC). I don't have access to the HMC
at my current job, but I did at my prior position, and I think you can
get most of the info from the HMC.

Christian Bartels

unread,
May 7, 2012, 4:01:58 AM5/7/12
to
As far as I know, an API to return the processor clock speed is still not
available. File /QIBM/ProdData/OS400/CollectionServices/lib/System.xml has
an XML formatted list of properties (including SystemCharacteristic "mhz")
based on the processor featur code, which can be obtained through API
QGYRHRI (QgyRtvHdwRscInfo).

Kind regards,
Christian Bartels.

"CRPence" <CRP...@vnet.ibm.com> wrote in message
news:jo126d$p9c$1...@speranza.aioe.org...

iseriesflorida

unread,
May 8, 2012, 10:06:36 AM5/8/12
to
On May 7, 4:01 am, "Christian Bartels" <christian.bart...@sap.com>
wrote:
> As far as I know, an API to return the processor clock speed is still not
> available. File /QIBM/ProdData/OS400/CollectionServices/lib/System.xml has
> an XML formatted list of properties (including SystemCharacteristic "mhz")
> based on the processor featur code, which can be obtained through API
> QGYRHRI (QgyRtvHdwRscInfo).
>
> Kind regards,
> Christian Bartels.
>
> "CRPence" <CRPe...@vnet.ibm.com> wrote in message
>
> news:jo126d$p9c$1...@speranza.aioe.org...
>
>
>
> > On 04 May 2012 07:44, Ben Hoover wrote:
> >> How can I get information regarding the CPU in an iSeries (i.e.
> >> processor type, model, speed, etc.)?
>
> >   Visiting the i5/OS v5r4 InfoCenter, for example, and typing in the
> > "Search: retrieve CPU model processor type" yielded the "Materialize
> > Resource Management Data (MATRMD)" MI instruction, which conveniently was
> > what I was looking for to help me find the API that returns much of that
> > information; using the instruction is sensitive to release changes. Also
> > in the list was "Retrieve System Values (QWCRSVAL) API" which gives some
> > of the information; e.g. QMODEL and QPRCFEAT.
>
> >   Having less luck than I expected with a new search on MATRMD [surely
> > better luck on the web; APIs and that instruction I recall have been
> > discussed in messages], I typed in the Search: "retrieve processor API" to
> > reveal more of what I was expecting; some included in the list were:
>
> > Retrieve Partition Information (dlpar_get_info) API
> >http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/dlpa...
>
> > Retrieve Hardware Resource List (QGYRHRL, QgyRtvHdwRscList) API
> >http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qgyr...
>
> > Retrieve Hardware Resource Information (QGYRHRI, QgyRtvHdwRscInfo) API
> >http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qgyr...
>
> >   The above may be useful.  However I do not recall anything that gives a
> > speed, e.g. "clock speed", perhaps due to implementation whereby the CPU
> > may be contained by an effective governor to achieve model
> > differentiation.  Within the progression of Power Systems as the
> > underlying hardware, that may be less prevalent or gone away.?  The newer
> > release InfoCenter docs may reveal more and different... I merely chose
> > v5r4 because that was already open in my browser.
>
> > Regards, Chuck- Hide quoted text -
>
> - Show quoted text -

If you google MATMATR you can get several different websites with
various examples.

http://www.code400.com/forum/archive/index.php?t-1718.html

0 new messages