The CP QUERY USERID command can be issued a variety of ways from a linux 
virtual machine.

from a 3270 use #CP Q USERID

within linux you can install and use:
Neale Ferguson's CPINT package
IBM vmcp driver

If you are on a vswitch (as I recall when we chatted in Tampa) do from TCPMAINT 
or MAINT CP QUERY VSWITCH DETAILS
I love the command, it includes the names of all vm's using a vswitch and the 
ip info.

David



-----Original Message-----
From: Linux on 390 Port on behalf of Roach, Dennis
Sent: Fri 2/23/2007 9:34 AM
To: LINUX-390@VM.MARIST.EDU
Subject: VM User ID or z series LPAR name under RHEL4 U3
 
Is there a way to get the VM 5.2 user ID or the z series LPAR name under Linux?
What I would like to do is use this to determine the hostname and the IP 
address of the Linux system, instead of having to change it in each one.

Dennis Roach
United Space Alliance
600 Gemini Avenue
Mail Code USH-4A3L
Houston, Texas 77058
Voice:   (281) 282-2975
Page:    (713) 736-8275
Fax:     (281) 282-3583
E-Mail:  [EMAIL PROTECTED]

All opinions expressed by me are mine and may not agree with my employer or any 
person, company, or thing, living or dead, on or near this or any other
planet, moon, asteroid, or other spatial object, natural or manufactured, since 
the beginning of time.


----------------------------------------------------------------------
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

Reply via email to