查看Linux系统属性的相关命令
[root@Roy roy]# uname -a
Linux Roy 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux
[root@Roy roy]# cat /etc/issue
Fedora release 8 (Werewolf)
Kernel /r on an /m
[root@Roy roy]# cat /proc/version
Linux version 2.6.23.1-42.fc8 (kojibuilder@xenbuilder4.fedora.phx.redhat.com) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Tue Oct 30 13:55:12 EDT 2007
二,查看CPU和内存
[root@Roy roy]# grep "model name" /proc/cpuinfo
model name : Intel(R) Pentium(R) D CPU 2.80GHz
model name : Intel(R) Pentium(R) D CPU 2.80GHz
查看Linux系统属性的相关命令
[root@Roy roy]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Pentium(R) D CPU 2.80GHz
stepping : 4
cpu MHz : 2810.042
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips : 5624.18
clflush size : 64
………………
[root@Roy roy]# grep MemTotal /proc/meminfo
MemTotal: 1034508 kB
[root@Roy roy]# free
total used free shared buffers cached
Mem: 1034508 965344 69164 0 38316 487820
-/+ buffers/cache: 439208 595300
Swap: 1052216 0 1052216
三,查看操作系统位数
[root@Roy roy]# getconf LONG_BIT
32