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/
