Gee, nothing works. You might as well have an EXEC like this:

/* */
return random(1,99)  /* Substitute whatever you like for the range. */

Kidding aside, establishing a naming convention and sticking to it is probably 
the best bet. That plus filtering based on the information from IND USER (IPL 
device/name and Virtual Storage) if you have those clever enough to IPL CMS in 
an otherwise Linux machine, should give you a pretty good idea of which are 
your Linux guests (so long as you avoid Levanta products :-) )

Regards, 
Richard Schuh 

 

> -----Original Message-----
> From: The IBM z/VM Operating System 
> [mailto:[email protected]] On Behalf Of Phil Smith III
> Sent: Friday, August 14, 2009 10:47 AM
> To: [email protected]
> Subject: Re: How to tell how many linux running on z/VM?
> 
> On Fri, Aug 14, 2009 at 12:42 PM, Alan or Chucky wrote:
> > IPL 190 PARM NOSPROF INSTSEG NO
> 
> > Who am I?  :-)
> 
> > Trying to create a one-size-fits-all algorithm won't work.  
> At the end 
> > of the day analyzing INDICATE USER with knowledge of what 
> your guests 
> > IPL is as good as anything.  If your system is, um, chaotic in that 
> > respect, then you have to backtrack a bit.
> 
> > - If they IPLed 190, was it MAINTxxx 190 or something else 
> you recognize?
> > (QUERY MDISK USER xxxxxx 190).
> > - If they IPLed an NSS, do you recognize it?
> > - If they haven't IPLed anything, then does it matter?
> > - If they IPLed 191, hand it to an Inquisitor for further review.
> 
> Heh, with Levanta we had the startup scripts (in Linux) swap 
> the CMS 190 in for the Linux IPL device. That way you could 
> do a 'shutdown -r' and it would reIPL CMS, go through the 
> Levanta setup (which would swap the devices back), and then 
> reIPL Linux. As you say, "one-size-fits-all won't work" -- 
> there's always a cleverer idiot!
> 
> ...phsiii
> 

Reply via email to