* help - how to get CPU id (serial#) on Alpha 1000
@ 1997-12-15 5:00 mari0021
1997-12-17 5:00 ` Steve Lionel
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: mari0021 @ 1997-12-15 5:00 UTC (permalink / raw)
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).
jm
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: help - how to get CPU id (serial#) on Alpha 1000
1997-12-15 5:00 help - how to get CPU id (serial#) on Alpha 1000 mari0021
@ 1997-12-17 5:00 ` Steve Lionel
1997-12-17 5:00 ` Stuart R. Fuller
1997-12-17 5:00 ` Hoff Hoffman
2 siblings, 0 replies; 4+ messages in thread
From: Steve Lionel @ 1997-12-17 5:00 UTC (permalink / raw)
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).
There probably isn't a unique CPU serial number. Digital stopped creating
systems with CPU IDs some 15 years ago. Some people who want such things
(usually for ill-considered copy-protection schemes) often use the
Ethernet controller hardware ID instead.
--
Steve Lionel mailto:Steve.Lionel@digital.com
Fortran Development http://www.digital.com/info/slionel.html
Digital Equipment Corporation
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
For information on DIGITAL Fortran, see http://www.digital.com/fortran
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: help - how to get CPU id (serial#) on Alpha 1000
1997-12-15 5:00 help - how to get CPU id (serial#) on Alpha 1000 mari0021
1997-12-17 5:00 ` Steve Lionel
@ 1997-12-17 5:00 ` Stuart R. Fuller
1997-12-17 5:00 ` Hoff Hoffman
2 siblings, 0 replies; 4+ messages in thread
From: Stuart R. Fuller @ 1997-12-17 5:00 UTC (permalink / raw)
mari0021@tc.umn.edu wrote:
: 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).
:
Do this:
- Get your system serial number from the system box
- Enter it into a file, say /etc/sysserialnum
Now, when you need to know your system serial number, cat the file.
Seriously, most DEC equipment does not have machine readable serial numbers.
Stu
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: help - how to get CPU id (serial#) on Alpha 1000
1997-12-15 5:00 help - how to get CPU id (serial#) on Alpha 1000 mari0021
1997-12-17 5:00 ` Steve Lionel
1997-12-17 5:00 ` Stuart R. Fuller
@ 1997-12-17 5:00 ` Hoff Hoffman
2 siblings, 0 replies; 4+ messages in thread
From: Hoff Hoffman @ 1997-12-17 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-12-17 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-15 5:00 help - how to get CPU id (serial#) on Alpha 1000 mari0021
1997-12-17 5:00 ` Steve Lionel
1997-12-17 5:00 ` Stuart R. Fuller
1997-12-17 5:00 ` Hoff Hoffman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox