Thanks Bruce...  I read descriptions of both Q V CPUs and Q PROC but
obviously did a "compare and swap" or something such in writing my post.
Thanks for the correction.

So VMCP Q V CPUs would work in a VM environment, but we still have a problem
in the LPAR environmentt.

Thanks,
Mike

--------------------------------------------------
From: "Bruce Hayden" <[email protected]>
Sent: Friday, July 11, 2014 9:18 AM
To: <[email protected]>
Subject: Re: Running on CP or IFL ?

vmcp q proc is a privileged command, so hopefully that command isn't
allowed in Linux!  But 'vmcp q v cpus' is, and it shows you what type each
virtual CPU is (and for Linux, they'll all be the same type.)

In an LPAR environment, I don't know what to suggest.  I don't see any
indication under /proc/cpuinfo or /proc/sysinfo, or in /sys
under /sys/devices/system/cpu.  But, I don't have   Linux running in an
LPAR environment to check.


On Fri, Jul 11, 2014 at 9:10 AM, Mike Hammock <[email protected]> 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 [email protected] 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/




--
Bruce Hayden
z/VM and Linux on System z ATS
IBM, Endicott, NY

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] 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 [email protected] 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