查看系统内核版本命令:
[root@SYS3 ~]# uname -a
Linux SYS3 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
查看系统版本
[root@SYS3 ~]# more /etc/redhat-release
Red Hat Enterprise Linux release 5.1 (Tikanga)
查看内核版本gcc版本
[root@SYS3 /]# more /proc/version
Linux version 2.6.18-53.el5 (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP
Wed Oct 10 16:34:19 EDT 2007
查看cpu 信息
[root@SYS3 /]# grep "model name" /proc/cpuinfo
model name : Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz
[root@SYS3 /]# more /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz
stepping : 8
cpu MHz : 1866.663
cache size : 4096 KB
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2
ss syscall nx lm constant_tsc up pni ds_cpl cx16 lahf_lm
bogomips : 3741.81
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
查看cpu 的位数
[root@SYS3 /]# getconf LONG_BIT
64
查看内存信息
[root@SYS3 /]# more /proc/meminfo
MemTotal: 1027180 kB
MemFree: 79432 kB
Buffers: 191460 kB
Cached: 570760 kB
SwapCached: 0 kB
Active: 402036 kB
Inactive: 440556 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 1027180 kB
LowFree: 79432 kB
SwapTotal: 2031608 kB
SwapFree: 2031608 kB
Dirty: 4 kB
Writeback: 0 kB
AnonPages: 80348 kB
Mapped: 21416 kB
Slab: 83604 kB
PageTables: 7528 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 2545196 kB
Committed_AS: 172384 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 1936 kB
VmallocChunk: 34359736391 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB
阅读(1444) | 评论(0) | 转发(0) |