These two items tell you version and release numbers with the Solaris 2.4 release.
The version and release number of the operating system your workstation is running.
The name and version number of the window system that your workstation is running.