如何查看solaris系統(tǒng)的版本和位數(shù)?
如何查看solaris操作系統(tǒng)的版本號(hào)
我知道的有下面的三種方法,showrev、uname和查看/etc/release。
(1)命令showrev
show machine, software revision, and patch revision information
(2)命令uname
print name of current system.參數(shù) -a :Prints basic information currently available from the system.
(3)查看/etc/release
演示如下:
bash-3.00$ showrev Hostname: sunv890 Hostid: 84b7fe80 Release: 5.10 Kernel architecture: sun4u Application architecture: sparc Hardware provider: Sun_Microsystems Domain: Kernel version: SunOS 5.10 Generic_137111-08 bash-3.00$ uname -a SunOS sunv890 5.10 Generic_137111-08 sun4u sparc SUNW,Sun-Fire-V890 bash-3.00$ cat /etc/release Solaris 10 1/06 s10s_u1wos_19a SPARC Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 07 December 2005 bash-3.00$
由上可以看出該系統(tǒng)為Sun Sparc平臺(tái)的5.10系統(tǒng)。
如何查看solaris系統(tǒng)是32位還是64位的?
使用isainfo -v命令
如果是運(yùn)行在32位模式下, 則有如下輸出:
32-bit sparc applications
如果是運(yùn)行在64位模式下, 則有如下輸出:
64-bit sparcv9 applications
32-bit sparc applications
注意:
從Solaris10開始支持AMD64和EM64(intel)處理器,即通常說的x64,同樣能用上述命令來判斷。Solaris10 的x86和x64 使用同一個(gè)安裝包,即Solaris_x86_ga_u2_...。
bash-3.00$ isainfo -b -v 64-bit sparcv9 applications vis2 vis popc bash-3.00$
由上可知道,solaris系統(tǒng)為64位的。
另:
psrinfo -v 查看cup的狀態(tài)
mpstat 可以列出多cpu負(fù)載的狀態(tài)
prtconf | grep 'Memory' 可以查看內(nèi)存的多少.
prtdiag -v 顯示系統(tǒng)配置信息
版權(quán)聲明:本站文章來源標(biāo)注為YINGSOO的內(nèi)容版權(quán)均為本站所有,歡迎引用、轉(zhuǎn)載,請(qǐng)保持原文完整并注明來源及原文鏈接。禁止復(fù)制或仿造本網(wǎng)站,禁止在非www.sddonglingsh.com所屬的服務(wù)器上建立鏡像,否則將依法追究法律責(zé)任。本站部分內(nèi)容來源于網(wǎng)友推薦、互聯(lián)網(wǎng)收集整理而來,僅供學(xué)習(xí)參考,不代表本站立場(chǎng),如有內(nèi)容涉嫌侵權(quán),請(qǐng)聯(lián)系alex-e#qq.com處理。