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

    CPU or BORD serial number

    Hi all
    How can a read CPU or BORD serial number?I am a new member on this site and I need your help on this issue.
    I know there are some files in /proc but I didn’t find any S/N!


    Amihay Tabul

  2. #2
    Linux Engineer
    Join Date
    Apr 2003
    In the /proc/cpuinfo you can see a little information on your cpu:s on your system, but im not sure if you can see the serialnumber though. Just execute this command as the root-user.

    cat /proc/cpuinfo


  3. #3
    i did look at /proc/cpuinfo but there is no Serial Number.

    but thanks

  4. $spacer_open
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    Serial number? Are you referring to the CPUID stuff that they added some years ago in order to be able to identify a single processor? In that case, you can get it from /proc/cpu/*/cpuid, provided that the system is running on a kernel that is configured to provide that. Also, those files act like /dev/zero once the CPUID has been read, so you'll need to do something like this:
    dd if=/dev/cpuid/0/cpuid bs=32 count=1 2>/dev/null
    Or if you're writing a C program, just read the first 32 bytes and then ignore the rest.

Posting Permissions

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