1827089 Members
2895 Online
109714 Solutions
New Discussion

CPU Id

 
SOLVED
Go to solution
Stefano_27
Occasional Advisor

CPU Id

Is there any UNIX command to extract the parameter CPU Id from a UNIX machine?

Thank you,

Stefano.
Stefano Arnelli
4 REPLIES 4
Stefan Farrelly
Honored Contributor
Solution

Re: CPU Id

/opt/ifor/ls/bin/i4target -v

This produces a unique cpu id, eg;

Permanent Target ID: ff270871

SPU Target ID: 67347462

The Permanent Target ID is derived from a permanent hardware source on the system from which the i4target program is executed.
This target ID may be used for all license types.

The SPU ID is derived from a hardware identification number on the SPU. It is used as the Permanent Target ID when no higher-priority sources for Permanent Target ID (i.e., LAN cards) are present.

Im from Palmerston North, New Zealand, but somehow ended up in London...
T G Manikandan
Honored Contributor

Re: CPU Id

# /opt/ifor/ls/bin/i4target -v
Stefano_27
Occasional Advisor

Re: CPU Id

Thanks a lot!

Stefano.
Stefano Arnelli
Bill McNAMARA_1
Honored Contributor

Re: CPU Id


brise:root /# getconf CS_PARTITION_IDENT
583706587
brise:root /# getconf MACHINE_IDENT
583706587
brise:root /# uname -i (use getconf)
583706587
(see man page -i option for uname)

man getconf and/or
man 3c confstr for more
It works for me (tm)