How different versions on Sun OS and Solaris relate to each other 2 August 2001
Determining the version of Solaris that you are running is important, especially when installing software packages and operating system patches. The uname command will help. The man page tells us about a variety of options, including:
| uname |
| option | meaning |
| -a | Basic information |
| -i | Hardware implementation |
| -m | Machine hardware name |
| -n | Nodename |
| -v | Operating system version |
Doing a uname -r will yield the operating system release level. For example, on an Ultra5 running Solaris 8, one sees an output of 5.8, while on a Netra 1125 running Solaris 2.6 one sees 5.6. The complete mappings are:
| SunOS | Solaris |
| 5.3 | 2.3 |
| 5.4 | 2.4 |
| 5.5 | 2.5 |
| 5.5.1 | 2.5.1 |
| 5.6 | 2.6 |
| 5.7 | 7 |
| 5.8 | 8 |
|