Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2003
    Posts
    3

    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!

    Thanks

    Amihay Tabul

  2. #2
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    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.

    Code:
    cat /proc/cpuinfo
    Regards

    Andutt

  3. #3
    Just Joined!
    Join Date
    Aug 2003
    Posts
    3
    i did look at /proc/cpuinfo but there is no Serial Number.

    but thanks

  4. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Tšby, Sweden
    Posts
    7,578
    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:
    Code:
    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
  •