CPU Serial Number

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Leonardo Custodio

    CPU Serial Number

    Has anyone worked or have any hints on how to get the Processor Serial
    Number in C?
    I've read the material within the Intel(C) webpage, but it only gives me the
    CPU ID table, no information on where (memory) to get it.

    Thank you,
    Leonardo Custodio
    aliensprite@hot mail.com


  • Derk Gwen

    #2
    Re: CPU Serial Number

    "Leonardo Custodio" <aliensprite@ho tmail.com> wrote:
    # Has anyone worked or have any hints on how to get the Processor Serial
    # Number in C?
    # I've read the material within the Intel(C) webpage, but it only gives me the
    # CPU ID table, no information on where (memory) to get it.

    This is not a manufacturer independent notion. Not all cpus have unique
    serial numbers. The closest thing you can get to a manufacturer
    independent unique identifier is the ethernet interface MAC address,
    if any. Every MAC address is supposed to be unique, but not every machine
    has an ethernet interface, and some machines have more than one.

    --
    Derk Gwen http://derkgwen.250free.com/html/index.html
    But I do believe in this.

    Comment

    • Glen Herrmannsfeldt

      #3
      Re: CPU Serial Number


      "Leonardo Custodio" <aliensprite@ho tmail.com> wrote in message
      news:snFob.8174 2$7B1.68448@new s04.bloor.is.ne t.cable.rogers. com...[color=blue]
      > Has anyone worked or have any hints on how to get the Processor Serial
      > Number in C?[/color]

      STIDP instruction, but it is privileged.
      [color=blue]
      > I've read the material within the Intel(C) webpage, but it only gives me[/color]
      the[color=blue]
      > CPU ID table, no information on where (memory) to get it.[/color]

      Oh, for intel CPU's, you should have said so in the first place. Yes,
      there is an instruction to get it there, too, on newer CPU's.

      -- glen


      Comment

      • Binyamin Dissen

        #4
        Re: CPU Serial Number

        On Sat, 01 Nov 2003 05:24:55 GMT "Glen Herrmannsfeldt" <gah@ugcs.calte ch.edu>
        wrote:

        :>"Leonardo Custodio" <aliensprite@ho tmail.com> wrote in message
        :>news:snFob.81 742$7B1.68448@n ews04.bloor.is. net.cable.roger s.com...

        :>> Has anyone worked or have any hints on how to get the Processor Serial
        :>> Number in C?

        :> STIDP instruction, but it is privileged.

        Or in MVS+ one can examine the PCCA.

        :>> I've read the material within the Intel(C) webpage, but it only gives me
        :>the
        :>> CPU ID table, no information on where (memory) to get it.

        :> Oh, for intel CPU's, you should have said so in the first place. Yes,
        :>there is an instruction to get it there, too, on newer CPU's.

        --
        Binyamin Dissen <bdissen@dissen software.com>


        Director, Dissen Software, Bar & Grill - Israel

        Comment

        • Nudge

          #5
          Re: CPU Serial Number

          Leonardo Custodio wrote:[color=blue]
          > Has anyone worked or have any hints on how to get the Processor
          > Serial Number in C? I've read the material within the Intel(C)
          > webpage, but it only gives me the CPU ID table, no information on
          > where (memory) to get it.[/color]

          Ask in comp.lang.asm.x 86

          Comment

          • John Swanson

            #6
            Re: CPU Serial Number

            Wrong group.
            "Glen Herrmannsfeldt" <gah@ugcs.calte ch.edu> wrote in message
            news:GsHob.7375 2$HS4.641757@at tbi_s01...[color=blue]
            >
            > "Leonardo Custodio" <aliensprite@ho tmail.com> wrote in message
            > news:snFob.8174 2$7B1.68448@new s04.bloor.is.ne t.cable.rogers. com...[color=green]
            > > Has anyone worked or have any hints on how to get the Processor Serial
            > > Number in C?[/color]
            >
            > STIDP instruction, but it is privileged.
            >[color=green]
            > > I've read the material within the Intel(C) webpage, but it only gives me[/color]
            > the[color=green]
            > > CPU ID table, no information on where (memory) to get it.[/color]
            >
            > Oh, for intel CPU's, you should have said so in the first place. Yes,
            > there is an instruction to get it there, too, on newer CPU's.
            >
            > -- glen
            >
            >[/color]


            Comment

            Working...