Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to get CPU ID?

    can anybody help in finding the unique CPU ID through socket programing

  2. #2
    Linux User
    Join Date
    Aug 2005
    See in mplayer-try7 sources (probably present in CVS or the last try8 release):
    the file is cpudetect.c.
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (

  3. #3
    Hi dicorr,
    If it is an Intel CPU, then you can use the assembler command CPUID.

    In UNIX machines, there is a function gethostid() which returns a unique 32-bit identifier for that machine.

    I do not think that answered your question. But going through the source of mplayer is a better idea.

    With Regards,

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts