Thanks John, I was trying to remember the instruction for that  (STSI).
However, a little research indicates that the STSI only provided information
on the number of CPs and nothing about the type of other processors.   In a
zVM - Linux environment you might be able to assume that any non-CP
processor is an IFL, but sure as anything, someone would have a reasonable
exception to that.

Thanks,
Mike

--------------------------------------------------
From: "John McKown" <john.archie.mck...@gmail.com>
Sent: Friday, July 11, 2014 11:17 AM
To: <LINUX-390@VM.MARIST.EDU>
Subject: Re: Running on CP or IFL ?

I'm on a z/OS only system with no specialty engines. From looking at
the current Principles of Operation, and based on the fact that the D
M=CPU on z/OS and the Q PROC on z/VM can display this information, I
would say that it is very likely that the STSI privileged instruction
returns this information. On page 10-148, it shows a construct called
the TLE which is a part of the SYSIB 15.1.2 (Configuration Topology)
which is labelled "CPU Type" and is described:
<quote>
CPU Type: Byte 1 of word 1 of a CPU-type TLE
specifies an 8-bit unsigned binary integer whose
value is the CPU type of the one or more CPUs rep-
resented by the TLE. The CPU-type value specifies
either a primary-CPU type or any one of the possible
secondary-CPU types.
</quote>

I _believe_ that "primary-CPU type" means "general CP" and
"secondary-CPU types" refer to "specialty engines" such as IFL, zIIP,
and zAAP.  But I cannot find any confirmation of this. Or any
indication as to what the value of each type of CPU might be.


On Fri, Jul 11, 2014 at 8:10 AM, Mike Hammock <m...@hammocktree.us> wrote:
I have been asked a question by one of our zPDT users and did not have a
good answer, so I figured I'd go to the experts on this list....

If I'm running in a zLinux system, how can I "best" determine whether I'm
running on a CP or an IFL?  The purpose of this is to determine/set
licensing information so the relative speeds don't matter, just whether
CP or IFL.

Doing a VMCP  Q  V  PROC and parsing the results might work in a zVM
environment, but obviously would be a problem in a pure LPAR environment.

So, what is the recommended (supported?) and proper way to do this??

Thanks
Mike Hammock

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/



--
There is nothing more pleasant than traveling and meeting new people!
Genghis Khan

Maranatha! <><
John McKown

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/



----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to