Back to the main page
Finding OS release and Kernel info
Sometime you need to determine what release of the OS are you running and other useful information that comes with that, like architecture, installation date, etc.
I'll mention four ways I use the most, it may be some other ones ...
- See /etc/release file - looks something like (easy to find update version, like "update 7" and when it was assembled):
- Solaris 10 5/09 s10s_u7wos_08 SPARC
- Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
- Use is subject to license terms.
- Assembled 30 March 2009
- Check info of SUNWsolnm (Solaris Naming Enabler) package - pkginfo -l SUNWsolnm (easy to see architecture, version, installation date)
- PKGINST: SUNWsolnm
- NAME: Solaris Naming Enabler
- CATEGORY: system
- ARCH: sparc
- VERSION: 10,REV=2009.03.30.12.13
- BASEDIR: /
- VENDOR: Sun Microsystems, Inc.
- DESC: Enable Solaris Name in /etc/release file
- PSTAMP: re29796
- INSTDATE: Jun 17 2009 14:06
- HOTLINE: Please contact your local service provider
- STATUS: completely installed
- FILES: 2 installed pathnames
- 1 shared pathnames
- 1 directories
- 1 blocks used (approx)
- Use command showrev (easy to see hostid, architecture, kernel version)
- Hostname: xxxxxxxx
- Hostid: 8503f82e
- Release: 5.10
- Kernel architecture: sun4v
- Application architecture: sparc
- Hardware provider: Sun_Microsystems
- Domain: genesyslab.com
- Kernel version: SunOS 5.10 Generic_139555-08
- Also use showrev -p to see installed patches.
- use command: uname -a (easy to see hostname, kernel version)
- SunOS hal-9000 5.10 Generic_139555-08 sun4v sparc SUNW,T5240
Back to the main page