Hi, Sunny.
Some sites have guest naming standards (Linux guests are named LIN....
or LS....., etc.) that would allow you to very simply see which guests
were running Linux, as opposed to CMS or GCS. If your site doesn't have
such a standard, then I'm afraid you're going to have to do this the
hard way.
I would download and install the TRACK z/VM utility; for each guest on
the system, it can tell you what the IPL statement was, and if all of
your Linux guest were IPLed off of a known DASD address, that would tell
you which ones are indeed running Linux. To verify that the guest is a
Linux one, TRACK can also display the kernel parm line, which is stored
at a fixed location (x'1000'?) in the guest.
This isn't too difficult to do for a handful of guests, but if you have
a lot to query, you might want to consider automating this task via some
Rexx TRACK macros.
Eddie Chen wrote:
If you linux servers are connected to vswitch or guest LAN you can query
them thru the "query" command
You can also use the ping test
or "q nss user cms" and "gcs" assuming they don't "ipl 190". any one not
in the list ... chances are LINUX
Richard Heimo
<richard.he...@sw
isscom.com> To
Sent by: Linux [email protected]
on 390 Port cc
<[email protected]
IST.EDU> Subject
Re: How to tell how many linux
running on z/VM?
08/13/2009
07:32 AM
Please respond to
Linux on 390 Port
<[email protected]
IST.EDU>
Hello
Try from a guest:
vmcp q n | tr ' ' '\n' | grep -i linux | wc -l
Best regards
Richard
-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of And
Get Involved
Sent: Wednesday, August 12, 2009 11:50 PM
To: [email protected]
Subject: How to tell how many linux running on z/VM?
I was asked to find out how many linux guests are running on our z/VM?
the cp commands:Q N is not very suitable for this question.
What is the better way?
This message is intended only for the addressee. It may contain privileged
or confidential information. Any unauthorized disclosure is strictly
prohibited. If you have received this message in error, please notify us
immediately so that we may correct our internal records. Please then
delete the original email. Thank you. (Sent by Webgate1)
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
Visit our website at http://www.nyse.com
****************************************************
Note: The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure. If the
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the
sender immediately by replying to the message, and please delete
it from your system. Thank you. NYSE Euronext, Inc.
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
Dave Jones
V/Soft
www.vsoft-software.com
Houston, TX
281.578.7544
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390