查看Linux系統信息的幾個快捷命令
1.查看當前內核信息: #uname -a
2.查看當前版本發行信息:#cat /etc/issue
3.查看邏輯CPU個數和型號:#cat /proc/cpuinfo|grep name| cut -f2 -d: | uniq -c
4.查看機器的當前配置位數:# getconf LONG_BIT ,該值不代表CPU實際支持的位數上限
5.查看芯片所支持的特性:#cat /proc/cpuinfo|grep flags
其它的CPU信息解釋如下:
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 (Fast floating-point save and restore)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Hyper-threading technology)
TM (Thermal monitor supported)
SBF (Signal break on FERR)