Did you try cat /proc/cpuinfo ? Under zVM see processors, serialno and machine type I don't have any servers using just IFL's to check
Ann Smith -----Original Message----- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mike Hammock Sent: Friday, July 11, 2014 11:59 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Running on CP or IFL ? 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" <bjhay...@gmail.com> Sent: Friday, July 11, 2014 9:18 AM To: <LINUX-390@VM.MARIST.EDU> 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 <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/ >> > > > > -- > Bruce Hayden > z/VM and Linux on System z ATS > IBM, Endicott, NY > > ---------------------------------------------------------------------- > 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/ ************************************************************ This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************