如何查看solaris系統的版本和位數?
如何查看solaris操作系統的版本號
我知道的有下面的三種方法,showrev、uname和查看/etc/release。
(1)命令showrev
show machine, software revision, and patch revision information
(2)命令uname
print name of current system.參數 -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$
由上可以看出該系統為Sun Sparc平臺的5.10系統。
如何查看solaris系統是32位還是64位的?
使用isainfo -v命令
如果是運行在32位模式下, 則有如下輸出:
32-bit sparc applications
如果是運行在64位模式下, 則有如下輸出:
64-bit sparcv9 applications
32-bit sparc applications
注意:
從Solaris10開始支持AMD64和EM64(intel)處理器,即通常說的x64,同樣能用上述命令來判斷。Solaris10 的x86和x64 使用同一個安裝包,即Solaris_x86_ga_u2_...。
bash-3.00$ isainfo -b -v 64-bit sparcv9 applications vis2 vis popc bash-3.00$
由上可知道,solaris系統為64位的。
另:
psrinfo -v 查看cup的狀態
mpstat 可以列出多cpu負載的狀態
prtconf | grep "Memory" 可以查看內存的多少.
prtdiag -v 顯示系統配置信息
相關文章:
1. 針對windows10的功能更新版本21h2安裝失敗2. Beta通道的Win11預覽版怎么升級到正式版本3. Linux Mint系統版本信息在哪? Linux Mint查看系統信息的技巧4. 理解Windows 7的32位和64位版本之間的區別5. 基于 Ubuntu 的 elementary OS 7 版本發布 附官方下載6. win10 2004版本啟動失靈 平板模式出現錯亂7. 微軟推送Windows10秋季創意者更新!版本號升至16299.4618. windows XP+Fedora 8+solaris 11三系統安裝攻略9. win 10 Build 17623版本支持HEIF格式嗎?10. 目前win10最新系統版本號是多少
