You could use Q NSS NAME xxx MAP to find out how many CMS users (xxx=INSTSEG, CMSPIPES, or CMSVMLIB) and how many GCS users (xxx=GCS) there are an subtract from the Q USERS total to get a count of users running other operating systems (Linux, z/OS, VSE, TPF, etc) or no operatating system at all (eg: in a SYSTEM RESET state).
Of course, if you've setup a shared DCSS for Linux guests, just query on that instead. Brian Nielsen Note: Don't use the CMS NSS or you will not exclude userids that did an IPL 190.) On Thu, 13 Aug 2009 15:26:08 -0400, Alan Altmark <alan_altm...@us.ibm.com > wrote: >On Thursday, 08/13/2009 at 11:56 EDT, "Schuh, Richard" <rsc...@visa.com> >wrote: >> The question was how to tell how many Linux guests are running. Other >types of >> users may inhabit the system. There are service machines (TCPIP, RSCS, >etc.), >> operations machines (OPERATOR, OPERATNS, etc.), CMS users (MAINT, >sysprog >> userids, etc.) that are included in the mix. If all you are counting a re >Linux >> guests, you need some way to either eliminate the non-Linux guests fro m >the >> results of Q N, or to positively identify which guests are Linux. If y ou >do not >> filter the results of Q N, then you might as well make it easy on >yourself and >> use Q U, instead. > >As Bob Nix noted, the general case is that CP does not know the identity >of any guest, so any answer to Sunny's question will require application >of an in-house convention. > >Alan Altmark >z/VM Development >IBM Endicott >======================== ========================= ========================