Skip to main content
added 259 characters in body
Source Link
Journeyman Geek
  • 130.3k
  • 52
  • 272
  • 443

The simplest, native would be cat /proc/cpuinfo|grep vendor_id

[geek@phoebe ~]$ cat /proc/cpuinfo | grep vendor_id
vendor_id       : GenuineIntel
vendor_id       : GenuineIntel

(Its printed twice cause this is a dual core system)

Interestingly this dosen't work with my raspi, which has a very different format

I don't think its preinstalled on many distros, but lshw would do the trick as well. Use the -class cpu flag to just dump out the relevant information

 sudo lshw -class cpu
  *-cpu
       description: CPU
       product: Celeron (Fill By OEM)
       vendor: Intel Corp.
       physical id: 34
       bus info: cpu@0
       version: Intel(R) Celeron(R) CPU N2807 @ 1.58GHz
       slot: SOCKET 0
       size: 1960MHz
       capacity: 2400MHz
       width: 64 bits
       clock: 83MHz

Likewise, this dosen't work on my raspberry pi quite the same way either. This should be consistent with x86 boxen however.

The equivalent AMD vendor name for lshw is Advanced Micro Devices (AMD) and the /proc/cpuinfo readout for vendor_id is AuthenticAMD

(You can find a full list of vendor_ids here)

In short, the vendor flag should identify the 'brand' and the product flag should identify what its sold as.

The simplest, native would be cat /proc/cpuinfo|grep vendor_id

[geek@phoebe ~]$ cat /proc/cpuinfo | grep vendor_id
vendor_id       : GenuineIntel
vendor_id       : GenuineIntel

(Its printed twice cause this is a dual core system)

Interestingly this dosen't work with my raspi, which has a very different format

I don't think its preinstalled on many distros, but lshw would do the trick as well. Use the -class cpu flag to just dump out the relevant information

 sudo lshw -class cpu
  *-cpu
       description: CPU
       product: Celeron (Fill By OEM)
       vendor: Intel Corp.
       physical id: 34
       bus info: cpu@0
       version: Intel(R) Celeron(R) CPU N2807 @ 1.58GHz
       slot: SOCKET 0
       size: 1960MHz
       capacity: 2400MHz
       width: 64 bits
       clock: 83MHz

Likewise, this dosen't work on my raspberry pi quite the same way either. This should be consistent with x86 boxen however.

In short, the vendor flag should identify the 'brand' and the product flag should identify what its sold as.

The simplest, native would be cat /proc/cpuinfo|grep vendor_id

[geek@phoebe ~]$ cat /proc/cpuinfo | grep vendor_id
vendor_id       : GenuineIntel
vendor_id       : GenuineIntel

(Its printed twice cause this is a dual core system)

Interestingly this dosen't work with my raspi, which has a very different format

I don't think its preinstalled on many distros, but lshw would do the trick as well. Use the -class cpu flag to just dump out the relevant information

 sudo lshw -class cpu
  *-cpu
       description: CPU
       product: Celeron (Fill By OEM)
       vendor: Intel Corp.
       physical id: 34
       bus info: cpu@0
       version: Intel(R) Celeron(R) CPU N2807 @ 1.58GHz
       slot: SOCKET 0
       size: 1960MHz
       capacity: 2400MHz
       width: 64 bits
       clock: 83MHz

Likewise, this dosen't work on my raspberry pi quite the same way either. This should be consistent with x86 boxen however.

The equivalent AMD vendor name for lshw is Advanced Micro Devices (AMD) and the /proc/cpuinfo readout for vendor_id is AuthenticAMD

(You can find a full list of vendor_ids here)

In short, the vendor flag should identify the 'brand' and the product flag should identify what its sold as.

added 285 characters in body
Source Link
Journeyman Geek
  • 130.3k
  • 52
  • 272
  • 443

The simplest, native would be cat /proc/cpuinfo|grep vendor_id

[geek@phoebe ~]$ cat /proc/cpuinfo | grep vendor_id
vendor_id       : GenuineIntel
vendor_id       : GenuineIntel

(Its printed twice cause this is a dual core system)

Interestingly this dosen't work with my raspi, which has a very different format

I don't think its preinstalled on many distros, but lshw would do the trick as well. Use the -class cpu flag to just dump out the relevant information

 sudo lshw -class cpu
  *-cpu
       description: CPU
       product: Celeron (Fill By OEM)
       vendor: Intel Corp.
       physical id: 34
       bus info: cpu@0
       version: Intel(R) Celeron(R) CPU N2807 @ 1.58GHz
       slot: SOCKET 0
       size: 1960MHz
       capacity: 2400MHz
       width: 64 bits
       clock: 83MHz

Likewise, this dosen't work on my raspberry pi quite the same way either. This should be consistent with x86 boxen however.

In short, the vendor flag should identify the 'brand' and the product flag should identify what its sold as.

I don't think its preinstalled on many distros, but lshw would do the trick. Use the -class cpu flag to just dump out the relevant information

 sudo lshw -class cpu
  *-cpu
       description: CPU
       product: Celeron (Fill By OEM)
       vendor: Intel Corp.
       physical id: 34
       bus info: cpu@0
       version: Intel(R) Celeron(R) CPU N2807 @ 1.58GHz
       slot: SOCKET 0
       size: 1960MHz
       capacity: 2400MHz
       width: 64 bits
       clock: 83MHz

The simplest, native would be cat /proc/cpuinfo|grep vendor_id

[geek@phoebe ~]$ cat /proc/cpuinfo | grep vendor_id
vendor_id       : GenuineIntel
vendor_id       : GenuineIntel

(Its printed twice cause this is a dual core system)

Interestingly this dosen't work with my raspi, which has a very different format

I don't think its preinstalled on many distros, but lshw would do the trick as well. Use the -class cpu flag to just dump out the relevant information

 sudo lshw -class cpu
  *-cpu
       description: CPU
       product: Celeron (Fill By OEM)
       vendor: Intel Corp.
       physical id: 34
       bus info: cpu@0
       version: Intel(R) Celeron(R) CPU N2807 @ 1.58GHz
       slot: SOCKET 0
       size: 1960MHz
       capacity: 2400MHz
       width: 64 bits
       clock: 83MHz

Likewise, this dosen't work on my raspberry pi quite the same way either. This should be consistent with x86 boxen however.

In short, the vendor flag should identify the 'brand' and the product flag should identify what its sold as.

Source Link
Journeyman Geek
  • 130.3k
  • 52
  • 272
  • 443

I don't think its preinstalled on many distros, but lshw would do the trick. Use the -class cpu flag to just dump out the relevant information

 sudo lshw -class cpu
  *-cpu
       description: CPU
       product: Celeron (Fill By OEM)
       vendor: Intel Corp.
       physical id: 34
       bus info: cpu@0
       version: Intel(R) Celeron(R) CPU N2807 @ 1.58GHz
       slot: SOCKET 0
       size: 1960MHz
       capacity: 2400MHz
       width: 64 bits
       clock: 83MHz