From: hoffman@xdelta.enet.dec.nospam (Hoff Hoffman)
Subject: Re: help - how to get CPU id (serial#) on Alpha 1000
Date: 1997/12/17 [thread overview]
Message-ID: <679eeg$lnq@usenet.pa.dec.com> (raw)
In-Reply-To: 6751pj$265@maroon.tc.umn.edu
In article <6751pj$265@maroon.tc.umn.edu>, mari0021@tc.umn.edu writes:
:the 'uname -m' command gives the serial number of the CPU
:on an AIX but not on the Alpha running Digital UNIX.
:
:Does anyone know how to get the unique CPU serial number/id on the Alpha 1000?
:I've searched the entire documentation CD, but the closest I got was the
:'uerf' command run in superuser mode which gives a 'system id' among other
:things, and 'pset_info' which only shows the CPU number (that is, 0 for 1 cpu).
Most Alpha and most VAX systems do not have "solid" serial numbers -- and
those few systems that do have something that vaguely resembles a serial
number can sometimes have that value changed via console commands or
backplane switchpacks.
For something that can be used in lieu of a serial number, consider the
Ethernet Address. For details and example C code, see the Ethernet
section at the URL:
http://www.partner.digital.com/www-swdev/pages/Home/TECH/faqs/ovms/ovms.html
The serial number check is something that tends to be used primarily in
software licensing schemes, and is something that tends to regularly get
mis-implemented. I would tend to recommend using an existing licensing
package if at all possible, as this puts the headaches on somebody else.
Many folks try to use the entire SID register as a serial number, and it
doesn't work that way -- one can only depend on the architected portion
of the SID, the processor-dependent portion can -- and does -- vary.
On the Alpha SRM console (used by OpenVMS and UNIX), the hardware restart
parameter block (HWRPB) is another option. Look at the ten ASCII character
field beginning at offset 64. (Donno how to get at the console HWRPB from
UNIX, however.) And I'd use the Ethernet address first...
-------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering h*ffman@xdelta.enet.dec.c*m
headers and addresses munged to avoid automated spammers: junk-e-mail
next prev parent reply other threads:[~1997-12-17 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-15 5:00 help - how to get CPU id (serial#) on Alpha 1000 mari0021
1997-12-17 5:00 ` Hoff Hoffman [this message]
1997-12-17 5:00 ` Stuart R. Fuller
1997-12-17 5:00 ` Steve Lionel
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox