* How to get a unique cpu id
@ 1997-04-08 4:00 s
1997-04-08 4:00 ` Steve Strange USG
1997-04-08 4:00 ` D. Sean Davidson
0 siblings, 2 replies; 3+ messages in thread
From: s @ 1997-04-08 4:00 UTC (permalink / raw)
Greetings,
I have a need to get a cpu id in the DEC alpha unix environment, both
at the command line level, and programmatically, as I am porting an
application from AIX / HP-UX that uses this value in a licensing algorithm.
In AIX we can do a "uname -m" and in HP-UX we do "uname -i"
to return such a value. And in both environments, the uname system
function can return the necessary value, (I think the utsname member
name is "machine" in HP-UX).
Is there such a facility on the Alpha? The references to cpu ids that I
have found in the various include files all seem to refer to
mutli-processor
issues and not to a unique vendor-supplied id as such.
Any help would be greatly appreciated.
Regards,
Simon Taylor
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to get a unique cpu id
1997-04-08 4:00 How to get a unique cpu id s
@ 1997-04-08 4:00 ` Steve Strange USG
1997-04-08 4:00 ` D. Sean Davidson
1 sibling, 0 replies; 3+ messages in thread
From: Steve Strange USG @ 1997-04-08 4:00 UTC (permalink / raw)
In article <01bc4435$068a1780$704a05cb@simon.iaccess.com.au> "s" <joe@microsoft.com> writes:
> Greetings,
>
> I have a need to get a cpu id in the DEC alpha unix environment, both
> at the command line level, and programmatically, as I am porting an
> application from AIX / HP-UX that uses this value in a licensing algorithm.
>
> In AIX we can do a "uname -m" and in HP-UX we do "uname -i"
> to return such a value. And in both environments, the uname system
> function can return the necessary value, (I think the utsname member
> name is "machine" in HP-UX).
>
> Is there such a facility on the Alpha?
See 'man psrinfo' (DU V4.0 or later). Hope this helps.
Steve
--
Steve Strange strange@zk3.dec.com
Digital Equipment Corporation, Nashua, NH (603) 881-0595
Digital UNIX Filesystem Development
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to get a unique cpu id
1997-04-08 4:00 How to get a unique cpu id s
1997-04-08 4:00 ` Steve Strange USG
@ 1997-04-08 4:00 ` D. Sean Davidson
1 sibling, 0 replies; 3+ messages in thread
From: D. Sean Davidson @ 1997-04-08 4:00 UTC (permalink / raw)
This sounds like you want to use the results from the 'sizer -c'
command that returns the type of CPU you are running on. This
information is returned through the getsysinfo syscall.
Sean
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-04-08 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-08 4:00 How to get a unique cpu id s
1997-04-08 4:00 ` Steve Strange USG
1997-04-08 4:00 ` D. Sean Davidson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox