Rich, I have a virtual machine for a z/OS system and I defined 3 virtual IPs in the directory for this virtual machine.
Q CPUS 00: CPU 00 ID FF01AC8E20948000 (BASE) CP CPUAFF ON 00: CPU 01 ID FF01AC8E20948000 STOPPED CP CPUAFF ON 00: CPU 02 ID FF01AC8E20948000 STOPPED CP CPUAFF ON HITACHI DATA SYSTEMS Raymond E. Noal Senior Technical Engineer Office: (408) 970 - 7978 -----Original Message----- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Rich Greenberg Sent: Friday, November 09, 2007 1:12 PM To: [email protected] Subject: Re: Querying virtual processors On: Fri, Nov 09, 2007 at 01:59:40PM -0700,Mark Post Wrote: } I've got a couple of z/VM 5.1 guests, and they both have privilege classes B and G. I would like to be able to query how many virtual processors CP has defined for me at any given point in time. (No real reason, I'm just trying to learn new stuff, and the topic has come up on the Linux-390 mailing list.) There is no command I am aware of. I did something very similar with a fairly complex pipe which did a CP QUERY NAMES, fed that into the pipe and did (I think) a CP INDICATE USER EXP on each userid, then looked for the cpu definitions and added them up. -- Rich Greenberg N Ft Myers, FL, USA richgr atsign panix.com + 1 239 543 1353 Eastern time. N6LRT I speak for myself & my dogs only. VM'er since CP-67 Canines:Val, Red, Shasta & Casey (RIP), Red & Zero, Siberians Owner:Chinook-L Retired at the beach Asst Owner:Sibernet-L
