This is from a RHEL 6.3 guest of z/VM running in a z114 LPAR with one IFL and 
no other types of engines:

#cat /proc/cpuinfo
vendor_id       : IBM/S390
# processors    : 1
bogomips per cpu: 2049.00
features        : esan3 zarch stfle msa ldisp eimm dfp etf3eh highgprs
processor 0: version = FF,  identification = nnnnnn,  machine = 2818

    -jc-

> -----Original Message-----
> From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Smith, 
> Ann (CTO Service
> Delivery)
> Sent: Friday, July 11, 2014 11:09 AM
> To: [email protected]
> Subject: Re: Running on CP or IFL ?
> 
> 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:[email protected]] On Behalf Of Mike 
> Hammock
> Sent: Friday, July 11, 2014 11:59 AM
> To: [email protected]
> 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" <[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/
> ************************************************************
> 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.
> ************************************************************

**********************************************************************
Information contained in this e-mail message and in any attachments thereto is 
confidential. If you are not the intended recipient, please destroy this 
message, delete any copies held on your systems, notify the sender immediately, 
and refrain from using or disclosing all or any part of its content to any 
other person.

Reply via email to