如何查看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系统。