Extract SunOS and AIX versions.