日期:2014-05-16  浏览次数:20698 次

Linux下查询计算机基本信息

?

1、CPU

[root@localhost ~]# cat /proc/cpuinfo?

processor?????? : 0

vendor_id?????? : AuthenticAMD

cpu family???????: 15

model???????????? : 95

model name?? : AMD Sempron(tm) Processor 3200+

stepping??????? : 2

cpu MHz???????? : 1801.652

cache size????? : 128 KB

fdiv_bug???????? : no

hlt_bug????????? : no

f00f_bug????????: no

coma_bug????? : no

fpu???????????????? : yes

fpu_exception?? : yes

cpuid level???? : 1

wp??????????????? ?: yes

flags???????????? ?: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 pni syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni

bogomips???????: 3608.84

?

2、内存

[root@localhost ~]# cat /proc/meminfo?

MemTotal:?????? 775576 kB

MemFree:??????? 704964 kB

Buffers:????????? 8900 kB

Cached:????????? 33404 kB

SwapCached:????????? 0 kB

Active:????????? 31800 kB

Inactive:??????? 20424 kB

HighTotal:?????????? 0 kB

HighFree:??????????? 0 kB

LowTotal:?????? 775576 kB

LowFree:??????? 704964 kB

SwapTotal:???? 1052248 kB

SwapFree:????? 1052248 kB

Dirty:?????????????? 0 kB

Writeback:?????????? 0 kB

Mapped:????????? 15760 kB

Slab:???????????? 8780 kB

CommitLimit:?? 1440036 kB

Committed_AS:??? 55120 kB

PageTables:??????? 848 kB