And if you don't have root auth (needed for vmcp) you can issue cat /proc/sysinfo and find it there under VM00 Name:
Marcy This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Ben Duncan Sent: Wednesday, October 31, 2012 7:20 AM To: [email protected] Subject: Re: [LINUX-390] Linux ZVM command help .... EXACTLY - it was perfect ......... THANKS BIG TIME Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS, 39212 "Never attribute to malice, that which can be adequately explained by stupidity" - Hanlon's Razor > -------- Original Message -------- > Subject: Re: Linux ZVM command help .... > From: Dave Jones <[email protected]> > Date: Wed, October 31, 2012 8:42 am > To: [email protected] > > > Hello, Ben. > > Is what you are looking for the virtual machine name of the guest? If > that's what you are after, try the vmcp command, like this: > > vmcp q userid > > You will get a response like this: > > RHEL62 AT ZPDTVM61 > > where the first word (RHEL62 in this case) is the virtual machine name. > > DJ > > On 10/31/2012 07:52 AM, Ben Duncan wrote: > > Is there a command on the zlinux (SuSe 11.1) instance to tell you > > what the assigned name in the ZVM file that instance is ? > > > > For example - server called database01.ms.gov in all the local > > hosts/naming file(s) might be referenced as server0009 in the ZVM > > console list. We want to be able to what the server is referenced as > > from inside the instance. i.e. > > > > database01$> zvmyname > >> server009 > > database01$> > > > > As always, thanks .... > > > > Ben Duncan - Business Network Solutions, Inc. 336 Elton Road > > Jackson MS, 39212 "Never attribute to malice, that which can be > > adequately explained by stupidity" > > - Hanlon's Razor > > > > > > > > -------------------------------------------------------------------- > > -- 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 more information on Linux on System z, visit > > http://wiki.linuxvm.org/ > > > > -- > Dave Jones > V/Soft Software > 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 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ ---------------------------------------------------------------------- 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 more information on Linux on System z, visit http://wiki.linuxvm.org/
