The confusion is probably caused that by that there is a Q PROC to query the real processors, but no Q VIRTUAL PROC....
2007/8/10, Stracka, James (GTI) <[EMAIL PROTECTED]>: > > From a monitor machine I need to know how many CPUs a guest has. > INDICATE does it but I have to scrape it. I was hoping there was a command > like: > QUERY VIRTUAL CPUS guestid > > Where the output would be a number. > > I have what I need with: INDICATE USER guest > > -----Original Message----- > *From:* The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] *On > Behalf Of *Romanowski, John (OFT) > *Sent:* Friday, August 10, 2007 12:15 PM > *To:* [email protected] > *Subject:* Re: QUERY Guest CPUs > > But CP QUERY VIRT CPUS is a native CP command that any class G user can > do; > > or a class C user can do the native command CP SEND CP <guest> QUERY VIRT > CPUS to run the QUERY command > > > > What did you mean by "native"? > > > ------------------------------ > > *From:* The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] *On > Behalf Of *Stracka, James (GTI) > *Sent:* Friday, August 10, 2007 12:00 PM > *To:* [email protected] > *Subject:* Re: QUERY Guest CPUs > > > > Okay. The answer is, "There is no native command." > > > > Checking INDICATE works for now. > > > > "PIPE CP INDICATE USER" userid , > "| LOCATE /USERID=/", > "| STEM CPUS." > > > > -----Original Message----- > *From:* The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] *On > Behalf Of *Huegel, Thomas > *Sent:* Friday, August 10, 2007 11:56 AM > *To:* [email protected] > *Subject:* Re: QUERY Guest CPUs > > If you are z/VM 5.3 you can use FOR xxxx CP QUERY VIRT CPUS. > > -----Original Message----- > *From:* The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] > Behalf Of *Romanowski, John (OFT) > *Sent:* Friday, August 10, 2007 10:19 AM > *To:* [email protected] > *Subject:* Re: QUERY Guest CPUs > > On the guest itself one could do #CP QUERY VIRT CPUS > > or as its SECUSER do CP SEND CP <guest> QUERY VIRT CPUS > > > ------------------------------ > > This e-mail, including any attachments, may be confidential, privileged or > otherwise legally protected. It is intended only for the addressee. If you > received this e-mail in error or from someone who was not authorized to send > it to you, do not disseminate, copy or otherwise use this e-mail or its > attachments. Please notify the sender immediately by reply e-mail and > delete the e-mail from your system. > ------------------------------ > > > > *From:* The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] *On > Behalf Of *Stracka, James (GTI) > *Sent:* Friday, August 10, 2007 11:03 AM > *To:* [email protected] > *Subject:* QUERY Guest CPUs > > > > Is there a native VM command to QUERY the number of Virtual CPUs a guest > has? > > > > I know I can run through the output of an INDICATE command. > ------------------------------ > > This message w/attachments (message) may be privileged, confidential or > proprietary, and if you are not an intended recipient, please notify the > sender, do not use or share it and delete it. Unless specifically indicated, > this message is not an offer to sell or a solicitation of any investment > products or other financial product or service, an official confirmation of > any transaction, or an official statement of Merrill Lynch. Subject to > applicable law, Merrill Lynch may monitor, review and retain > e-communications (EC) traveling through its networks/systems. The laws of > the country of each sender/recipient may impact the handling of EC, and EC > may be archived, supervised and produced in countries other than the country > in which you are located. This message cannot be guaranteed to be secure or > error-free. This message is subject to terms available at the following > link: http://www.ml.com/e-communications_terms/. By messaging with Merrill > Lynch you consent to the foregoing. > ------------------------------ > > > > > > > > > > > > ------------------------------ > > <<* ella for Spam Control *>> has removed *12605* VSE-List messages and > set aside *11470* VM-List for me > You can use it too - and it's FREE! www.ellaforspam.com > > > > -- Kris Buelens, IBM Belgium, VM customer support
