[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

(Ambiguous) question on CPU ID?

» close window

The Question is:

 
Dear Mr. Wizard
How do I get the CPU ID of my computer?
Thanks
 


The Answer is :

 
  Terse questions beget terse answers, and often answers that may
  not be specific to the question originally intended.
 
  Use the system services reference manual and the sys$getsyiw
  call, or the corresponding f$getsyi DCL lexical, to retrieve
  the desired information.  You will want to use the documentation
  to determine exactly what value is required.
 
  The literal answer to the question is the uppermost byte of the
  System Identification (SID) register.  The uppermost byte of the
  SID indicates the specific type of CPU present in the system.
  Also available are the system hardware model code, the various
  CPU masks, and SMP and OpenVMS Galaxy processor information.
 
  The Wizard would encourage using LMF or similar for software
  licensing purposes, or using the Ethernet station address, as the
  SID and other similar values seldom fit the requirements for copy
  protection schemes.  Information on reading the Ethernet hardware
  address is available in the same website area as the Shareable
  Image Cookbook documentation referenced in the OpenVMS FAQ.
 
  Mr Wizard?  That assumption is somewhat of a risk.
 

answer written or last revised on ( 15-FEB-1999 )

» close window