Or,
$ set `grep "^VM...Name" /proc/sysinfo`
$ echo $3
L015062

Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Neale Ferguson
Sent: Friday, February 23, 2007 9:44 AM
To: [email protected]
Subject: Re: VM User ID or z series LPAR name under RHEL4 U3


cat /proc/sysinfo

On Fri, 2007-02-23 at 08:34 -0600, Roach, Dennis wrote:
> 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.

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