LINUX查看服务器硬件配置

LINUX查看硬件配置

1.      查看所有硬件的型号

dmidecode | more

 

  

# dmidecode 2.2

SMBIOS 2.5 present.

170 structures occupying 4593 bytes.

Table at 0xCFEFE000.

Handle 0x0000

        DMI type 0, 24 bytes.

        BIOS Information

                Vendor: HP

                Version: P61

                Release Date: 12/07/2007

                Address: 0xF0000

                Runtime Size: 64 kB

                ROM Size: 4096 kB

                Characteristics:

                        PCI is supported

                        PNP is supported

                        BIOS is upgradeable

                        BIOS shadowing is allowed

                        ESCD support is available

                        Boot from CD is supported

                        Selectable boot is supported

                        EDD is supported

……….

……….

 2.      查看memory info

cat /proc/meminfo | more

 

MemTotal:     12469500 kB

MemFree:      10620264 kB

Buffers:        121284 kB

Cached:        1514636 kB

SwapCached:          0 kB

Active:         622312 kB

Inactive:      1117020 kB

HighTotal:    11662616 kB

HighFree:     10018432 kB

LowTotal:       806884 kB

LowFree:        601832 kB

SwapTotal:    12289716 kB

SwapFree:     12289716 kB

Dirty:             560 kB

Writeback:           0 kB

Mapped:         300144 kB

Slab:            68728 kB

CommitLimit:  18524464 kB

Committed_AS:  3062652 kB

PageTables:      12916 kB

VmallocTotal:   106488 kB

VmallocUsed:      8760 kB

VmallocChunk:    97268 kB

HugePages_Total:     0

HugePages_Free:      0

Hugepagesize:     2048 kB

 3.      查看CPU info

cat /proc/cpuinfo

 

processor       : 0

vendor_id       : GenuineIntel

cpu family      : 6

model           : 15

model name      : Intel(R) Xeon(R) CPU           E7320  @ 2.13GHz

stepping        : 11

cpu MHz         : 2133.302

cache size      : 2048 KB

physical id     : 0

siblings        : 4

core id         : 0

cpu cores       : 4

fdiv_bug        : no

hlt_bug         : no

f00f_bug        : no

coma_bug        : no

fpu             : yes

fpu_exception   : yes

cpuid level     : 10

wp              : yes

flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat

 

你可能感兴趣的:(linux,cache,HP)