How to tell how many linux running on z/VM?

2009-08-17 Thread sunny . hu
We use vdisk for swap. So I find : q vdisk can tell me about the current running linux guests using Vdisk. vmcp q vdisk |awk '{print($2)}' | sort -u This message is intended only for the addressee. It may contain privileged or confidential information. Any unauthorized disclosure is

Re: How to tell how many linux running on z/VM?

2009-08-17 Thread Schuh, Richard
, 2009 1:27 PM To: IBMVM@LISTSERV.UARK.EDU Subject: How to tell how many linux running on z/VM? We use vdisk for swap. So I find : q vdisk can tell me about the current running linux guests using Vdisk. vmcp q vdisk |awk '{print($2)}' | sort -u This message

Re: How to tell how many linux running on z/VM?

2009-08-14 Thread David L. Craig
On Thu, Aug 13, 2009 at 01:59:16PM -0600, sunny...@wcb.ab.ca wrote: And our system names are associated with projects instead of the platform, I choose Mark's script as an easy approach even there is some human adjustments needed.:) This is amazing! No one suggested writing a script to

Re: How to tell how many linux running on z/VM?

2009-08-14 Thread Rob van der Heij
On Fri, Aug 14, 2009 at 3:10 PM, David L. Craigd...@radix.net wrote: This is amazing!  No one suggested writing a script to go look in each vm's idea of real storage to identify its OS, version, and uptime numbers.  I fear for the future of systems programming. ;-) Yep, very few challenges

Re: How to tell how many linux running on z/VM?

2009-08-14 Thread Mike Walter
to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject Re: How to tell how many linux running on z/VM? On Fri, Aug 14, 2009 at 3:10 PM, David L. Craigd...@radix.net wrote: This is amazing! No one suggested writing a script to go look in each vm's

Re: How to tell how many linux running on z/VM?

2009-08-14 Thread Schuh, Richard
@LISTSERV.UARK.EDU Subject: Re: How to tell how many linux running on z/VM? On Thu, Aug 13, 2009 at 01:59:16PM -0600, sunny...@wcb.ab.ca wrote: And our system names are associated with projects instead of the platform, I choose Mark's script as an easy approach even there is some

Re: How to tell how many linux running on z/VM?

2009-08-14 Thread Alan Altmark
On Thursday, 08/13/2009 at 05:31 EDT, Brian Nielsen bniel...@sco.idaho.gov wrote: 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

Re: How to tell how many linux running on z/VM?

2009-08-14 Thread Adam Thornton
On Aug 14, 2009, at 11:42 AM, Alan Altmark wrote: IPL 190 PARM NOSPROF INSTSEG NO Who am I? :-) With that line, most likely Chucky. Adam

Re: How to tell how many linux running on z/VM?

2009-08-14 Thread Phil Smith III
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,

Re: How to tell how many linux running on z/VM?

2009-08-14 Thread Schuh, Richard
Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Phil Smith III Sent: Friday, August 14, 2009 10:47 AM To: IBMVM@LISTSERV.UARK.EDU 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

Re: How to tell how many linux running on z/VM?

2009-08-14 Thread David L. Craig
On Fri, Aug 14, 2009 at 08:29:01AM -0700, Schuh, Richard wrote: If you look back in the thread, I am pretty certain that I made just such a suggestion. Sorry if I missed it--I was in a bit of a rush. Actually, I still am... -- May the LORD God bless you exceedingly abundantly! Dave Craig

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread Bill Munson
. Jersey City, NJ 07310 201-418-7588 sunny...@wcb.ab.ca Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 08/12/2009 05:49 PM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject How to tell how many linux running on z/VM

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread Bill Munson
Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc 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

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread Kris Buelens
City, NJ 07310 201-418-7588 sunny...@wcb.ab.ca Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 08/12/2009 05:49 PM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject How to tell how many linux running on z/VM

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread Dave Jones
@LISTSERV.UARK.EDU 08/12/2009 05:49 PM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc 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

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread Bill Munson
Dave Jones d...@vsoft-software.com Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 08/13/2009 09:31 AM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject Re: How to tell how many linux running on z/VM? Well, simple

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread russell . gendreau
-Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Dave Jones Sent: Thursday, August 13, 2009 9:31 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How to tell how many linux running on z/VM? Well, simple for you, Bill, with your mumble, mumble

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread Schuh, Richard
-Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Martin, Terry R. (CMS/CTR) (CTR) Sent: Wednesday, August 12, 2009 5:23 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How to tell how many linux running on z/VM? I agree

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread Schuh, Richard
Schuh From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Scott Rohling Sent: Wednesday, August 12, 2009 6:35 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How to tell how many linux running on z/VM? A naming convention is probably

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread Schuh, Richard
Of Bill Munson Sent: Thursday, August 13, 2009 5:14 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How to tell how many linux running on z/VM? I too am confused as to why Q NAMES would not work ? q names WATCHER - DSC , MLXORA2S - DSC , MLXORA1S - DSC , MLXWP01S - DSC MLXAP01S - DSC

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread RPN01
05:49 PM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc 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

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread RPN01
-Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Dave Jones Sent: Thursday, August 13, 2009 9:31 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How to tell how many linux running on z/VM? Well, simple for you, Bill, with your mumble

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread Bill Munson
by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 08/13/2009 02:57 PM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject Re: How to tell how many linux running on z/VM? The first thing I don't like about

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread Alan Altmark
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

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread sunny . hu
adjustments needed.:) Alan Altmark alan_altm...@us.ibm.com Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 08/13/2009 01:26 PM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject Re: How to tell how many linux running on z

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread sunny . hu
Thanks for all of your feedback. I originally thought there must be one cp query command which can indicate what type of guest we are running. And our system names schema is associated with projects instead of the platform, I receive some great thought. Mark's script is the an easy approach

Re: How to tell how many linux running on z/VM?

2009-08-13 Thread Brian Nielsen
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

How to tell how many linux running on z/VM?

2009-08-12 Thread sunny . hu
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

Re: How to tell how many linux running on z/VM?

2009-08-12 Thread Rob van der Heij
On Wed, Aug 12, 2009 at 11:49 PM, sunny...@wcb.ab.ca wrote: 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? Your network connections might help. If you're using vswitch you could count

Re: How to tell how many linux running on z/VM?

2009-08-12 Thread Hodge, Robert L
...@wcb.ab.ca Sent: Wednesday, August 12, 2009 3:50 PM To: IBMVM@LISTSERV.UARK.EDU 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

Re: How to tell how many linux running on z/VM?

2009-08-12 Thread Dave Jones
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

Re: How to tell how many linux running on z/VM?

2009-08-12 Thread Hodge, Robert L
[mailto:ib...@listserv.uark.edu] On Behalf Of Dave Jones Sent: Wednesday, August 12, 2009 4:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How to tell how many linux running on z/VM? Hi, Sunny. Some sites have guest naming standards (Linux guests are named LIN or LS., etc.) that would

Re: How to tell how many linux running on z/VM?

2009-08-12 Thread Dave Jones
Jones Sent: Wednesday, August 12, 2009 4:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How to tell how many linux running on z/VM? 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

Re: How to tell how many linux running on z/VM?

2009-08-12 Thread Mark Post
On 8/12/2009 at 5:49 PM, sunny...@wcb.ab.ca wrote: 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. Why is q n not suitable? for guest in $(vmcp q n | sed -f qnames.sed) do grep -q $guest excluded.names ||

Re: How to tell how many linux running on z/VM?

2009-08-12 Thread Howard Rifkind
...@wcb.ab.ca Subject: How to tell how many linux running on z/VM? To: IBMVM@LISTSERV.UARK.EDU Date: Wednesday, August 12, 2009, 5:49 PM 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

Re: How to tell how many linux running on z/VM?

2009-08-12 Thread Schuh, Richard
to tell how many linux running on z/VM? Hi Sunny, Are you Linux guests autologed? If so then just check out the profile exec (or associated exec) for the Linux names there...should be unidentifiable by their IPL device numbers. --- On Wed, 8/12/09, sunny...@wcb.ab.ca sunny...@wcb.ab.ca wrote: From

Re: How to tell how many linux running on z/VM?

2009-08-12 Thread P S
On Wed, Aug 12, 2009 at 7:22 PM, Schuh, Richardrsc...@visa.com wrote: Strong incentive to make sure that either all of the linux guests IPL from the same virtual address or, at the very least, that none of them has a virtual 190. As long as you are using something fuzzy to make the

Re: How to tell how many linux running on z/VM?

2009-08-12 Thread Martin, Terry R. (CMS/CTR) (CTR)
@LISTSERV.UARK.EDU Subject: Re: How to tell how many linux running on z/VM? On Wed, Aug 12, 2009 at 7:22 PM, Schuh, Richardrsc...@visa.com wrote: Strong incentive to make sure that either all of the linux guests IPL from the same virtual address or, at the very least, that none of them has a virtual

Re: How to tell how many linux running on z/VM?

2009-08-12 Thread Mike Walter
, we can better describe solutions. Mike Walter Hewitt Associates (Sent from the wee keyboard on a Blackberry.) - Original Message - From: P S [zosw...@gmail.com] Sent: 08/12/2009 08:04 PM AST To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How to tell how many linux running on z/VM? On Wed

Re: How to tell how many linux running on z/VM?

2009-08-12 Thread Scott Rohling
A naming convention is probably the simplest way to ensure you get everything.. LNXx or what have you. Anything else is just guessing when it comes down to it, when talking about checking dynamically. You can use PIPE CP Q N | SPLIT AT /,/ | STRIP | FIND LNX| count lines|consif you