Thanks, guys.  Any one of those will do it.

"Thousands of years ago, cats were worshipped as gods.  Cats have never forgotten 
this." _ Anonymous
Gordon Wolfe, Ph.D. (425)865-5940
VM Technical Services, The Boeing Company

> ----------
> From:         Post, Mark K
> Reply To:     Linux on 390 Port
> Sent:         Friday, January 30, 2004 1:04 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Linux userid?
> 
> mynameis=`hcp q userid | cut -f1 -d" "`
> 
> If you want it in lower case, then
> mynameis=`hcp q userid | cut -f1 -d" " | tr [A-Z] [a-z]`
> 
> 
> Mark Post
> 
> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
> Daniel Martin
> Sent: Friday, January 30, 2004 3:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Linux userid?
> 
> 
> Parsing the output from 'CP QUERY USERID' will also work, and may be
> somewhat less painful...
> 
> -dan.
> 
> Kern, Thomas wrote:
> 
> >You should be able to it with HCP except by parsing the response from an
> >INDICATE USER command.
> >
> >[EMAIL PROTECTED] /root]# hcp indicate user
> >USERID=LINUX1   MACH=ESA STOR=64M VIRT=F XSTORE=NONE
> >IPLSYS=DEV 0591 DEVNUM=00035
> >PAGES: RES=000000 WS=000000 LOCK=000000 RESVD=000000
> >NPREF=000000 PREF=000000 READS=000031 WRITES=002384
> >XSTORE=000000 READS=000000 WRITES=000000 MIGRATES=000000
> >CPU 00: CTIME=86:13 VTIME=403:28 TTIME=462:36 IO=161826+
> >        RDR=000000 PRT=000596 PCH=000000
> >
> >I would like to see something in linux initialization the would put a
> >decoded version of the Diagnose 00 response into /proc.
> >
> >/Thomas Kern
> >/301-903-2211
> >
> >
> >
> >>-----Original Message-----
> >>From: Wolfe, Gordon W [mailto:[EMAIL PROTECTED]
> >>Sent: Friday, January 30, 2004 15:43
> >>To: [EMAIL PROTECTED]
> >>Subject: Linux userid?
> >>
> >>
> >>Is there a way for a Linux server running under z/VM to
> >>determine its own VM userid?  Something using "hcp" perhaps?
> >>I can't use the IDENTIFY command since that's a CMS command.
> >>
> >>"Thousands of years ago, cats were worshipped as gods.  Cats
> >>have never forgotten this." _ Anonymous
> >>Gordon Wolfe, Ph.D. (425)865-5940
> >>VM Technical Services, The Boeing Company
> >>
> >>
> >>
> 
> 

Reply via email to