如何查看solaris系統(tǒng)的版本和位數(shù)?solaris系統(tǒng)的版本和位數(shù)的查看方法

2020-07-11 16:45:22 來(lái)源:互聯(lián)網(wǎng)作者:佚名 人氣: 次閱讀 6 條評(píng)論

如何查看solaris系統(tǒng)的版本和位數(shù)?今天小編將為大家分享查看solaris系統(tǒng)的版本和位數(shù)的方法!希望對(duì)大家會(huì)有幫助,有需要的朋友一起去看看吧...

如何查看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)處理器,即通常說(shuō)的x64,同樣能用上述命令來(lái)判斷。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)配置信息