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