现在的位置: 首页 > 综合 > 正文

查看solaris系统的版本和位数

2014年08月27日 ⁄ 综合 ⁄ 共 1244字 ⁄ 字号 评论关闭

  转自:http://cache.baiducontent.com/c?m=9f65cb4a8c8507ed4fece7631046893b4c4380147d8c8c4668d4e419ce3b4c413037bfa6663f405a8e906b6075ab4858ecf33170340123b599948e1088ac925f75ce786a6459db0144dc0edfcb5152ca37e02efedf1ff0bb8073cef08193841544cb23120a82e7fc5e1764c9788063&p=8f62cd15d9c341a811f6ca2d021485&newp=c6769a47999711a058ed933a1c5697231610db2151d6d5123080&user=baidu&fm=sc&query=%B2%E9%BF%B4solaris%B0%E6%B1%BE&qid=&p1=1

一、查看操作系统;有下面三种方法:showrev、uname和查看/etc/release。
(1)命令showrev
root @qeweb:/#showrev
Hostname: qeweb
Hostid: 84969f9c
Release: 5.9
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain:
Kernel version: SunOS 5.9 Generic 122300-12 Jul 2007
(2)命令uname
root @qeweb:/#uname -a
SunOS qeweb 5.9 Generic_122300-12 sun4u sparc SUNW,Sun-Fire-V240
(3)查看/etc/release
root @qeweb:/#cat /etc/release
                      Solaris 9 9/05 HW s9s_u9wos_06b SPARC
           Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 25 September 2006
二、查看操作系统位数
(1)使用isainfo -v命令
如果是运行在32位模式下, 则有如下输出:
32-bit sparc applications
如果是运行在64位模式下, 则有如下输出:
64-bit sparcv9 applications
32-bit sparc applications
root @qeweb:/#isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
三、showrev -p 查看补丁情况

抱歉!评论已关闭.