FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 25

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2006
    Posts
    1,442

    Command to find cpu socket type

    Friends,

    Is there a command in Linux that one can use to identify the socket type the processor uses in a PC? I tried the following commands, but did not get the desired result. Thanks.

    My processor is Intel Core i3-3220 and it is socket FCLGA1155.

    https://ark.intel.com/products/65693...Cache-3_30-GHz

    Code:
    ========================================================================
    [root@localhost john]# inxi 
    CPU~Dual core Intel Core i3-3220 (-HT-MCP-) speed/max~3292/3300 MHz Kernel~4.13.5-100.fc25.i686+PAE i686 Up~7 min Mem~778.2/3930.3MB HDD~500.1GB(50.1% used) Procs~210 Client~Shell inxi~2.3.40  
    [root@localhost john]# inxi |grep -i socket
    [root@localhost john]# 
    ========================================================================
    [root@localhost john]# dmidecode |grep -i socket
    BIOS ROM is socketed
    Socket Designation: CPU Internal L1
    Configuration: Enabled, Not Socketed, Level 1
    Socket Designation: CPU Internal L2
    Configuration: Enabled, Not Socketed, Level 2
    Socket Designation: CPU Internal L3
    Configuration: Enabled, Not Socketed, Level 3
    Socket Designation: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
    [root@localhost john]# history |grep -i socket
    ========================================================================
    [root@localhost john]# cpuid |grep -i socket
    [root@localhost john]# 
    ========================================================================
    [root@localhost john]# cat /proc/cpuinfo |grep -i socket
    [root@localhost john]# 
    ========================================================================
    [root@localhost john]# lscpu|grep -i socket
    Core(s) per socket:    2
    Socket(s):             1
    [root@localhost john]# 
    ========================================================================
    [root@localhost john]# lshw|grep -i socket
    capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
    [root@localhost john]# 
    ========================================================================
    [root@localhost john]# inxi -Fx|grep -i socket
    [root@localhost john]# 
    ========================================================================
    fedoralinuxcommands.blogspot.com


    All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

  2. #2
    Join Date
    Feb 2016
    Location
    here
    Posts
    22

    Re: Command to find cpu socket type


  3. #3
    Join Date
    Sep 2006
    Posts
    1,442

    Re: Command to find cpu socket type

    Quote Originally Posted by fedayinn
    x86info -a
    I installed x86info and executed the command, but still there is no mention of socket type in the command output. thanks,

    Code:
    [james@localhost ~]$ x86info 
    x86info v1.30.  Dave Jones 2001-2011
    Feedback to <davej@redhat.com>.
    
    Found 4 identical CPUs
    Extended Family: 0 Extended Model: 3 Family: 6 Model: 58 Stepping: 9
    Type: 0 (Original OEM)
    CPU Model (x86info's best guess): Unknown model. 
    Processor name string (BIOS programmed): Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
    
    Total processor threads: 4
    This system has 1 dual-core processor with hyper-threading (2 threads per core) running at an estimated 3.30GHz
    [james@localhost ~]$


    ---------- Post added at 10:57 PM ---------- Previous post was at 10:54 PM ----------

    Quote Originally Posted by HaydnH
    x86info needs installing and doesn't work for me, "dmidecode -t 4" works though
    I executed dmidecode command, but still there is no mention of socket type in the command output. thanks,

    Code:
    [root@localhost james]# dmidecode -t 4
    # dmidecode 3.1
    Getting SMBIOS data from sysfs.
    SMBIOS 2.7 present.
    
    Handle 0x0043, DMI type 4, 42 bytes
    Processor Information
    	Socket Designation: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
    	Type: Central Processor
    	Family: Core i7
    	Manufacturer: Intel
    	ID: A9 06 03 00 FF FB EB BF
    	Signature: Type 0, Family 6, Model 58, Stepping 9
    	Flags:
    		FPU (Floating-point unit on-chip)
    		VME (Virtual mode extension)
    		DE (Debugging extension)
    		PSE (Page size extension)
    		TSC (Time stamp counter)
    		MSR (Model specific registers)
    		PAE (Physical address extension)
    		MCE (Machine check exception)
    		CX8 (CMPXCHG8 instruction supported)
    		APIC (On-chip APIC hardware supported)
    		SEP (Fast system call)
    		MTRR (Memory type range registers)
    		PGE (Page global enable)
    		MCA (Machine check architecture)
    		CMOV (Conditional move instruction supported)
    		PAT (Page attribute table)
    		PSE-36 (36-bit page size extension)
    		CLFSH (CLFLUSH instruction supported)
    		DS (Debug store)
    		ACPI (ACPI supported)
    		MMX (MMX technology supported)
    		FXSR (FXSAVE and FXSTOR instructions supported)
    		SSE (Streaming SIMD extensions)
    		SSE2 (Streaming SIMD extensions 2)
    		SS (Self-snoop)
    		HTT (Multi-threading)
    		TM (Thermal monitor supported)
    		PBE (Pending break enabled)
    	Version: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
    	Voltage: 1.0 V
    	External Clock: 100 MHz
    	Max Speed: 7000 MHz
    	Current Speed: 3300 MHz
    	Status: Populated, Enabled
    	Upgrade: Other
    	L1 Cache Handle: 0x0004
    	L2 Cache Handle: 0x0005
    	L3 Cache Handle: 0x0006
    	Serial Number: Not Specified
    	Asset Tag: Fill By OEM
    	Part Number: Fill By OEM
    	Core Count: 2
    	Core Enabled: 1
    	Thread Count: 2
    	Characteristics:
    		64-bit capable
    [root@localhost james]#
    Code:
    [root@localhost james]# dmidecode -t 4|grep -i socket
    	Socket Designation: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
    [root@localhost james]#
    Code:
    [root@localhost james]# dmidecode |grep -i socket
    		BIOS ROM is socketed
    	Socket Designation: CPU Internal L1
    	Configuration: Enabled, Not Socketed, Level 1
    	Socket Designation: CPU Internal L2
    	Configuration: Enabled, Not Socketed, Level 2
    	Socket Designation: CPU Internal L3
    	Configuration: Enabled, Not Socketed, Level 3
    	Socket Designation: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
    [root@localhost james]#
    fedoralinuxcommands.blogspot.com


    All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

  4. #4
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    555

    Re: Command to find cpu socket type

    x86info needs installing and doesn't work for me, "dmidecode -t 4" works though.

  5. #5
    Join Date
    Dec 2007
    Location
    Australia
    Posts
    1,638

    Re: Command to find cpu socket type

    But does dmidecode give the socket type such as FCLGA1155?
    Code:
    [root@owl ~]# dmidecode -t 4
    # dmidecode 3.1
    Getting SMBIOS data from sysfs.
    SMBIOS 2.7 present.
    
    Handle 0x0040, DMI type 4, 42 bytes
    Processor Information
            Socket Designation: SOCKET 0
            Type: Central Processor
            Family: Core i3
            Manufacturer: Intel
            ID: C3 06 03 00 FF FB EB BF
            Signature: Type 0, Family 6, Model 60, Stepping 3
            Flags:
                    FPU (Floating-point unit on-chip)
                    VME (Virtual mode extension)
                    DE (Debugging extension)
                    PSE (Page size extension)
                    TSC (Time stamp counter)
                    MSR (Model specific registers)
                    PAE (Physical address extension)
                    MCE (Machine check exception)
                    CX8 (CMPXCHG8 instruction supported)
                    APIC (On-chip APIC hardware supported)
                    SEP (Fast system call)
                    MTRR (Memory type range registers)
                    PGE (Page global enable)
                    MCA (Machine check architecture)
                    CMOV (Conditional move instruction supported)
                    PAT (Page attribute table)
                    PSE-36 (36-bit page size extension)
                    CLFSH (CLFLUSH instruction supported)
                    DS (Debug store)
                    ACPI (ACPI supported)
                    MMX (MMX technology supported)
                    FXSR (FXSAVE and FXSTOR instructions supported)
                    SSE (Streaming SIMD extensions)
                    SSE2 (Streaming SIMD extensions 2)
                    SS (Self-snoop)
                    HTT (Multi-threading)
                    TM (Thermal monitor supported)
                    PBE (Pending break enabled)
            Version: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz
            Voltage: 1.1 V
            External Clock: 100 MHz
            Max Speed: 7000 MHz
            Current Speed: 3600 MHz
            Status: Populated, Enabled
            Upgrade: Other
            L1 Cache Handle: 0x0004
            L2 Cache Handle: 0x0005
            L3 Cache Handle: 0x0006
            Serial Number: Not Specified
            Asset Tag: Fill By OEM
            Part Number: Fill By OEM
            Core Count: 2
            Core Enabled: 1
            Thread Count: 2
            Characteristics:
                    64-bit capable
    Can't see it.
    x86info wouldn't complete make for me. It said it couldn't find pci/pci.h.

  6. #6
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    555

    Re: Command to find cpu socket type

    Odd, mine tells me my Intel core i7 is using an LGA 1150 socket, in the "Upgrade" field though...

    x86info is in dnf, so you can "dnf install x86info". I get an "operation not permitted" when trying to run it though (even as root).

  7. #7
    Join Date
    Dec 2007
    Location
    Australia
    Posts
    1,638

    Re: Command to find cpu socket type

    Quote Originally Posted by HaydnH
    Odd, mine tells me my Intel core i7 is using an LGA 1150 socket, in the "Upgrade" field though...

    x86info is in dnf, so you can "dnf install x86info". I get an "operation not permitted" when trying to run it though (even as root).
    My machines don't seem as co-operative. Two computers I've tried with dmidecode just show "other" in the upgrade field. I installed the x86info rpm, which does seem to work without error, but only get:
    CPU Model (x86info's best guess): Unknown model.
    lshw -C CPU just yields: "description: CPU" but no socket type.

  8. #8
    Join Date
    Nov 2006
    Location
    Detroit
    Posts
    6,669

    Re: Command to find cpu socket type

    My CPU (see specs in my sig) is a Socket AM2 type. Both dmidecode and x86info work for me in F26:
    Code:
    # dmidecode -t processor | grep -i socket
            Socket Designation: Socket M2
            Upgrade: Socket 940
    
    # x86info -a | grep -i socket
    Connector type: Socket AM2
    OS: Fedora 27 x86_64 | Machine: HP Pavilion a6130n | CPU: AMD 64 X2 Dual-Core 5000+ 2.6GHz | RAM: 7GB PC5300 DDR2 | Disk: 400GB SATA | Video: ATI Radeon HD 4350 512MB | Sound: Realtek ALC888S | Ethernet: Realtek RTL8201N

  9. #9
    Join Date
    Jun 2004
    Location
    Laurel, MD USA
    Posts
    7,172

    Re: Command to find cpu socket type

    Quote Originally Posted by nsnbm
    My machines don't seem as co-operative. Two computers I've tried with dmidecode just show "other" in the upgrade field. I installed the x86info rpm, which does seem to work without error, but only get:


    lshw -C CPU just yields: "description: CPU" but no socket type.

    It works here, the first one is a Xeon E5-2609, the second a Ivy bridge (i5-3210M) laptop
    Code:
    lshw -C CPU | grep slot
    
    slot: LGA2011
    Code:
    lshw -C CPU | grep slot
           slot: Socket rPGA988B

  10. #10
    Join Date
    Jan 2013
    Location
    Ventura, CA
    Posts
    182

    Re: Command to find cpu socket type

    "lshw -C CPU | grep slot" doesn't work on my Intel i5:

    Code:
     [donatom@archlinux Desktop]$ sudo lshw -C CPU | grep slot
           slot: CPU 1
    I will try it on my Intel i3 laptop later.

  11. #11
    Join Date
    Sep 2006
    Posts
    1,442

    Re: Command to find cpu socket type

    Quote Originally Posted by nsnbm
    lshw -C CPU just yields: "description: CPU" but no socket type.
    I agree with you, thanks.

    Code:
    [root@localhost james]# lshw -C CPU
      *-cpu:0                   
           description: CPU
           product: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
           vendor: Intel Corp.
           physical id: 43
           bus info: cpu@0
           version: 6.10.9
           serial: 0003-06A9-0000-0000-0000-0000
           slot: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
           size: 1634MHz
           capacity: 3300MHz
           width: 64 bits
           clock: 100MHz
           capabilities: x86-64 boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave avx f16c lahf_lm cpuid_fault epb tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm arat pln pts cpufreq
           configuration: cores=2 enabledcores=1 id=0 threads=2
         *-logicalcpu:0
              description: Logical CPU
              physical id: 0.1
              width: 64 bits
              capabilities: logical
         *-logicalcpu:1
              description: Logical CPU
              physical id: 0.2
              width: 64 bits
              capabilities: logical
         *-logicalcpu:2
              description: Logical CPU
              physical id: 0.3
              width: 64 bits
              capabilities: logical
         *-logicalcpu:3
              description: Logical CPU
              physical id: 0.4
              width: 64 bits
              capabilities: logical
         *-logicalcpu:4
              description: Logical CPU
              physical id: 0.5
              width: 64 bits
              capabilities: logical
         *-logicalcpu:5
              description: Logical CPU
              physical id: 0.6
              width: 64 bits
              capabilities: logical
         *-logicalcpu:6
              description: Logical CPU
              physical id: 0.7
              width: 64 bits
              capabilities: logical
         *-logicalcpu:7
              description: Logical CPU
              physical id: 0.8
              width: 64 bits
              capabilities: logical
         *-logicalcpu:8
              description: Logical CPU
              physical id: 0.9
              width: 64 bits
              capabilities: logical
         *-logicalcpu:9
              description: Logical CPU
              physical id: 0.a
              width: 64 bits
              capabilities: logical
         *-logicalcpu:10
              description: Logical CPU
              physical id: 0.b
              width: 64 bits
              capabilities: logical
         *-logicalcpu:11
              description: Logical CPU
              physical id: 0.c
              width: 64 bits
              capabilities: logical
         *-logicalcpu:12
              description: Logical CPU
              physical id: 0.d
              width: 64 bits
              capabilities: logical
         *-logicalcpu:13
              description: Logical CPU
              physical id: 0.e
              width: 64 bits
              capabilities: logical
         *-logicalcpu:14
              description: Logical CPU
              physical id: 0.f
              width: 64 bits
              capabilities: logical
         *-logicalcpu:15
              description: Logical CPU
              physical id: 0.10
              width: 64 bits
              capabilities: logical
      *-cpu:1
           physical id: 1
           bus info: cpu@1
           version: 6.10.9
           serial: 0003-06A9-0000-0000-0000-0000
           size: 1659MHz
           capacity: 3300MHz
           capabilities: vmx ht cpufreq
           configuration: id=2
         *-logicalcpu:0
              description: Logical CPU
              physical id: 2.1
              capabilities: logical
         *-logicalcpu:1
              description: Logical CPU
              physical id: 2.2
              capabilities: logical
         *-logicalcpu:2
              description: Logical CPU
              physical id: 2.3
              capabilities: logical
         *-logicalcpu:3
              description: Logical CPU
              physical id: 2.4
              capabilities: logical
         *-logicalcpu:4
              description: Logical CPU
              physical id: 2.5
              capabilities: logical
         *-logicalcpu:5
              description: Logical CPU
              physical id: 2.6
              capabilities: logical
         *-logicalcpu:6
              description: Logical CPU
              physical id: 2.7
              capabilities: logical
         *-logicalcpu:7
              description: Logical CPU
              physical id: 2.8
              capabilities: logical
         *-logicalcpu:8
              description: Logical CPU
              physical id: 2.9
              capabilities: logical
         *-logicalcpu:9
              description: Logical CPU
              physical id: 2.a
              capabilities: logical
         *-logicalcpu:10
              description: Logical CPU
              physical id: 2.b
              capabilities: logical
         *-logicalcpu:11
              description: Logical CPU
              physical id: 2.c
              capabilities: logical
         *-logicalcpu:12
              description: Logical CPU
              physical id: 2.d
              capabilities: logical
         *-logicalcpu:13
              description: Logical CPU
              physical id: 2.e
              capabilities: logical
         *-logicalcpu:14
              description: Logical CPU
              physical id: 2.f
              capabilities: logical
         *-logicalcpu:15
              description: Logical CPU
              physical id: 2.10
              capabilities: logical
    [root@localhost james]#
    Code:
    [root@localhost james]# lshw -C CPU|grep -i socket
    [root@localhost james]#
    Last edited by tech291083; 20th October 2017 at 07:25 AM.
    fedoralinuxcommands.blogspot.com


    All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

  12. #12
    Join Date
    May 2017
    Location
    www
    Posts
    135

    Re: Command to find cpu socket type

    You could try:

    Code:
    lshw -C CPU

    Or some other utility's that show CPU information.

    Code:
    hardinfo
    Code:
    hwloc
    Code:
    xsos

  13. #13
    Join Date
    Sep 2006
    Posts
    1,442

    Re: Command to find cpu socket type

    Code:
    lshw -C CPU
    Code:
    [root@localhost james]# lshw -C CPU
      *-cpu:0                   
           description: CPU
           product: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
           vendor: Intel Corp.
           physical id: 43
           bus info: cpu@0
           version: 6.10.9
           serial: 0003-06A9-0000-0000-0000-0000
           slot: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
           size: 1746MHz
           capacity: 3300MHz
           width: 64 bits
           clock: 100MHz
           capabilities: x86-64 boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave avx f16c lahf_lm cpuid_fault epb tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm arat pln pts cpufreq
           configuration: cores=2 enabledcores=1 id=0 threads=2
         *-logicalcpu:0
              description: Logical CPU
              physical id: 0.1
              width: 64 bits
              capabilities: logical
         *-logicalcpu:1
              description: Logical CPU
              physical id: 0.2
              width: 64 bits
              capabilities: logical
         *-logicalcpu:2
              description: Logical CPU
              physical id: 0.3
              width: 64 bits
              capabilities: logical
         *-logicalcpu:3
              description: Logical CPU
              physical id: 0.4
              width: 64 bits
              capabilities: logical
         *-logicalcpu:4
              description: Logical CPU
              physical id: 0.5
              width: 64 bits
              capabilities: logical
         *-logicalcpu:5
              description: Logical CPU
              physical id: 0.6
              width: 64 bits
              capabilities: logical
         *-logicalcpu:6
              description: Logical CPU
              physical id: 0.7
              width: 64 bits
              capabilities: logical
         *-logicalcpu:7
              description: Logical CPU
              physical id: 0.8
              width: 64 bits
              capabilities: logical
         *-logicalcpu:8
              description: Logical CPU
              physical id: 0.9
              width: 64 bits
              capabilities: logical
         *-logicalcpu:9
              description: Logical CPU
              physical id: 0.a
              width: 64 bits
              capabilities: logical
         *-logicalcpu:10
              description: Logical CPU
              physical id: 0.b
              width: 64 bits
              capabilities: logical
         *-logicalcpu:11
              description: Logical CPU
              physical id: 0.c
              width: 64 bits
              capabilities: logical
         *-logicalcpu:12
              description: Logical CPU
              physical id: 0.d
              width: 64 bits
              capabilities: logical
         *-logicalcpu:13
              description: Logical CPU
              physical id: 0.e
              width: 64 bits
              capabilities: logical
         *-logicalcpu:14
              description: Logical CPU
              physical id: 0.f
              width: 64 bits
              capabilities: logical
         *-logicalcpu:15
              description: Logical CPU
              physical id: 0.10
              width: 64 bits
              capabilities: logical
      *-cpu:1
           physical id: 1
           bus info: cpu@1
           version: 6.10.9
           serial: 0003-06A9-0000-0000-0000-0000
           size: 3198MHz
           capacity: 3300MHz
           capabilities: vmx ht cpufreq
           configuration: id=2
         *-logicalcpu:0
              description: Logical CPU
              physical id: 2.1
              capabilities: logical
         *-logicalcpu:1
              description: Logical CPU
              physical id: 2.2
              capabilities: logical
         *-logicalcpu:2
              description: Logical CPU
              physical id: 2.3
              capabilities: logical
         *-logicalcpu:3
              description: Logical CPU
              physical id: 2.4
              capabilities: logical
         *-logicalcpu:4
              description: Logical CPU
              physical id: 2.5
              capabilities: logical
         *-logicalcpu:5
              description: Logical CPU
              physical id: 2.6
              capabilities: logical
         *-logicalcpu:6
              description: Logical CPU
              physical id: 2.7
              capabilities: logical
         *-logicalcpu:7
              description: Logical CPU
              physical id: 2.8
              capabilities: logical
         *-logicalcpu:8
              description: Logical CPU
              physical id: 2.9
              capabilities: logical
         *-logicalcpu:9
              description: Logical CPU
              physical id: 2.a
              capabilities: logical
         *-logicalcpu:10
              description: Logical CPU
              physical id: 2.b
              capabilities: logical
         *-logicalcpu:11
              description: Logical CPU
              physical id: 2.c
              capabilities: logical
         *-logicalcpu:12
              description: Logical CPU
              physical id: 2.d
              capabilities: logical
         *-logicalcpu:13
              description: Logical CPU
              physical id: 2.e
              capabilities: logical
         *-logicalcpu:14
              description: Logical CPU
              physical id: 2.f
              capabilities: logical
         *-logicalcpu:15
              description: Logical CPU
              physical id: 2.10
              capabilities: logical
    [root@localhost james]#

    Code:
    hardinfo
    Code:
    [root@localhost james]# hardinfo
    bash: hardinfo: command not found
    [root@localhost james]#

    Code:
    hwloc

    Code:
    [root@localhost james]# hw
    hwclock                 hwloc-assembler-remote  hwloc-compress-dir      hwloc-distrib           hwloc-ls                hwmixvolume
    hwloc-annotate          hwloc-bind              hwloc-diff              hwloc-gather-topology   hwloc-patch             
    hwloc-assembler         hwloc-calc              hwloc-distances         hwloc-info              hwloc-ps                
    [root@localhost james]#
    Which one to use?

    Code:
    xsos

    Code:
    [root@localhost james]# xsos
    bash: xsos: command not found
    [root@localhost james]# 
    [root@localhost james]# dnf install xsos
    Last metadata expiration check: 0:43:33 ago on Fri Oct 20 11:09:32 2017.
    No package xsos available.
    Error: Unable to find a match.
    [root@localhost james]#

    Tryfedoraa,

    You have given so much help, i can't thank you enough.

    ---------- Post added at 11:28 PM ---------- Previous post was at 11:23 PM ----------

    Quote Originally Posted by RupertPupkin
    My CPU (see specs in my sig) is a Socket AM2 type. Both dmidecode and x86info work for me in F26:
    Code:
    # dmidecode -t processor | grep -i socket
            Socket Designation: Socket M2
            Upgrade: Socket 940
    
    # x86info -a | grep -i socket
    Connector type: Socket AM2
    Code:
    [root@localhost james]# dmidecode -t processor | grep -i socket
    Socket Designation: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
    [root@localhost james]# 
    [root@localhost james]# x86info -a | grep -i socket
    [root@localhost james]#
    Thanks.

    ---------- Post added at 11:31 PM ---------- Previous post was at 11:28 PM ----------

    Quote Originally Posted by marko
    Code:
    lshw -C CPU | grep slot
    slot: LGA2011
    Tried the same, but to no avail. Thanks though.
    Code:
    [root@localhost james]# lshw -C CPU | grep slot
    slot: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
    [root@localhost james]#


    ---------- Post added at 11:36 PM ---------- Previous post was at 11:31 PM ----------

    Quote Originally Posted by nsnbm
    Code:
    [root@owl ~]# dmidecode -t processor | grep -i socket
            Socket Designation: SOCKET 0
    [root@owl ~]# lshw -C CPU | grep slot
           slot: SOCKET 0
    I did the same, but no success, thanks.

    Code:
    [root@localhost james]# dmidecode -t processor | grep -i socket
    Socket Designation: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
    [root@localhost james]# 
    [root@localhost james]# lshw -C CPU | grep slot
    slot: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
    [root@localhost james]#
    fedoralinuxcommands.blogspot.com


    All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

  14. #14
    Join Date
    Jan 2013
    Location
    Ventura, CA
    Posts
    182

    Re: Command to find cpu socket type

    "lshw -C -CPU" doesn't show the socket type, while " dmidecode -t 4" does

  15. #15
    Join Date
    Jul 2017
    Location
    IL
    Posts
    132

    Re: Command to find cpu socket type

    8 commands to check cpu information on Linux



    http://www.binarytides.com/linux-cpu-information/
    FFedora

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 1st August 2007, 04:19 PM
  2. command to query fs type of all partitions
    By tlviewer in forum Using Fedora
    Replies: 3
    Last Post: 21st July 2006, 12:54 PM
  3. mysql can't find the correct socket
    By jonhumphrey in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 1st March 2006, 06:23 PM

Tags for this Thread

Posting Permissions

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