That may be a good measure for some, including you; however, it is not universal. We use V-disk for temp disks, so most of our CMS users have one or more V-disks. We would have to filter the non-swap vdisks out of the results.
As noted, there is no one size fits all solution. You have to base your filters on knowledge of your system, conventions, and user base. If you want it to be nearly bullet-proof, you have to adopt some kind of convention and enforce it. (I couldn't even use machine size if we were mixing IFLs and regular CPUs in an LPAR - we have large, anywhere from 3.4 to 18 GB guests that are not Linux. In that situation, we could base it on whether the guest was IFL or other). Regards, Richard Schuh ________________________________ From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of sunny...@wcb.ab.ca Sent: Monday, August 17, 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 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)