Checking CPU capabilities

Walter Parker walterp at gmail.com
Sun Feb 3 20:05:45 UTC 2019


>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 02 Feb 2019 19:48:04 +0530
> From: Mayuresh Kathe <mayuresh at kathe.in>
> To: freebsd-questions at freebsd.org
> Subject: Checking CPU capabilities
> Message-ID: <2cd8b8b1ae06042a992a48faace1ca91 at kathe.in>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> Under Linux it is `cat /proc/cpuinfo`
> Under Solaris it is `isainfo -v`
> What is it under FreeBSD 12?
>
>
>
> *************************************************
>
You could also try dmidecode.

$ pkg install dmicode
$ dmidecode

Truncated sample output:

Processor Information
        Socket Designation: Node 1 Socket 1
        Type: Central Processor
        Family: Xeon MP
        Manufacturer: Intel(R) Corporation
        ID: C2 06 02 00 FF FB EB BF
        Signature: Type 0, Family 6, Model 44, Stepping 2
        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) Xeon(R) CPU           E5607  @ 2.27GHz
        Voltage: 1.2 V
        External Clock: 4800 MHz
        Max Speed: 4400 MHz
        Current Speed: 2270 MHz
        Status: Populated, Enabled
        Upgrade: ZIF Socket
        L1 Cache Handle: 0x0002
        L2 Cache Handle: 0x0003
        L3 Cache Handle: 0x0004
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: Not Specified
        Core Count: 4
        Core Enabled: 4
        Thread Count: 4
        Characteristics:
                64-bit capable

It will also get you memory information


Memory Device
        Array Handle: 0x0009
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM01
        Bank Locator: BANK01
        Type: Other
        Type Detail: Unknown
        Speed: 800 MT/s
        Manufacturer: Samsung
        Serial Number: 63C16323
        Asset Tag: Unknown
        Part Number: M393B5773CH0-YH9

BIOS information
BIOS Information
        Vendor: IBM Corp.
        Version: -[D6E154AUS-1.13]-
        Release Date: 09/23/2011
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 4096 kB
        Characteristics:
                PCI is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                3.5"/2.88 MB floppy services are supported (int 13h)
                Print screen service is supported (int 5h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                LS-120 boot is supported
                ATAPI Zip drive boot is supported
                Function key-initiated network boot is supported
                Targeted content distribution is supported
        BIOS Revision: 0.0
        Firmware Revision: 0.0

If your system has it defined, it will give you the serial number for the
system (IBM & Sun rack mounts have these defined).


Walter
-- 
The greatest dangers to liberty lurk in insidious encroachment by men of
zeal, well-meaning but without understanding.   -- Justice Louis D. Brandeis


More information about the freebsd-questions mailing list