Bernie Wu wrote: > Hi Listers, > We have a 2 LPARS, each hosting one VM, which in turn hosts several Linux > guests. > I would like to be able to query the number of guests on another LPAR from a > linux guest on a different LPAR. Is this possible and if so, what do I have > to do to set it up ? > If linuxa1 is on one VM, and linuxb1 is on the other VM, and both guests have ssh (using keys is nicer) and vmcp installed and VM commands are authorized, then...
linuxa1 #: ssh linuxb1 vmcp q users or linuxa1 #: ssh linuxb1 vmcp q n You could even use pipes and grep, perl or whatever you need to display the results in a format you required. mark ---------------------------------------------------------------------- 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
