檢視linux系統安裝時間
passwd -s root
檢視linux硬碟序列號
hdparm -i /dev/sda
檢視linuxmac位址 ifconfig
# uname -a
linux euis1 2.6.9-55.elsmp #1 smp fri apr 20 17:03:35 edt 2007 i686 i686 i386 gnu/linux
(linux檢視版本當前作業系統核心資訊)
# cat /etc/issue | grep linux
red hat enterprise linux as release 4 (nahant update 5)
(linux檢視版本當前作業系統發行版資訊)
# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
8 intel(r) xeon(r) cpu e5410 @ 2.33ghz
(linux檢視cpu有8個邏輯cpu, 也知道了cpu型號)
# cat /proc/cpuinfo | grep physical | uniq -c
4 physical id : 0
4 physical id : 1
(linux檢視版本說明實際上是兩顆4核的cpu)
# getconf long_bit
32(linux檢視版本說明當前cpu執行在32bit模式下, 但不代表cpu不支援64bit)
# cat /proc/cpuinfo | grep flags | grep ' lm ' | wc -l
8(結果大於0, 說明支援64bit計算. lm指long mode, 支援lm則是64bit)
最後再完整看cpu物理資訊, 不過大部分我們都不關心而已.
# dmidecode | grep -a48 'processor information$'
檢視核心版本資訊
more /proc/cpuinfo
linux檢視cpu 記憶體 版本資訊
1 檢視物理cpu的個數 cat proc cpuinfo grep physical id sort uniq wc l 2 檢視邏輯cpu的個數 cat proc cpuinfo grep processor wc l 3 檢視cpu是幾核 cat proc cpuinfo grep cores...
Linux檢視版本資訊及CPU核心 型號等
linux下如何檢視版本資訊,包括位數和多核資訊,下面是linux 檢視版本資訊以及檢視cpu核心資訊 cpu具體型號等等,整個cpu資訊一目了然。1.uname a linux檢視版本當前作業系統 核心資訊 linux euis1 2.6.9 55.elsmp 1 smp fri apr 20 1...
linux 檢視cpu資訊
檢視cpu資訊 型號 cat proc cpuinfo grep name cut f2 d uniq c 8 intel r xeon r cpu e5410 2.33ghz 看到有8個邏輯cpu,也知道了cpu型號 cat proc cpuinfo grep physical uniq c 4 ...