Home » Infrastructure » Unix » OS version
OS version [message #220678] Wed, 21 February 2007 09:39 Go to next message
gkrishn
Messages: 506
Registered: December 2005
Location: Putty a dark screen
Senior Member
Hi ,I need to find my OS version to select a suitable patch for my Oracle version 9.2.0.6

/oracle>uname -a
SunOS gbo6012d 5.9 Generic_118558-27 sun4u sparc SUNW,Sun-Fire-15000

my quest is , is it Solaris SPARC 32 bit
or
Solaris SPARC 64 bit
how do i identify it ?there is diff patch set for diff versions
Re: OS version [message #220685 is a reply to message #220678] Wed, 21 February 2007 09:56 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Hi,
set for diff versions
Yes, check patch set README.TXT file. for specific platform information.

regards
Taj
Re: OS version [message #220686 is a reply to message #220678] Wed, 21 February 2007 10:01 Go to previous messageGo to next message
gkrishn
Messages: 506
Registered: December 2005
Location: Putty a dark screen
Senior Member
/oracle>uname -a
SunOS gbo6012d 5.9 Generic_118558-27 sun4u sparc SUNW,Sun-Fire-15000

is it Solaris SPARC 32 bit or Solaris SPARC 64 bit ???
How to i makeout this fro uname -a
Re: OS version [message #220687 is a reply to message #220686] Wed, 21 February 2007 10:05 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Hi,
I don't know about OS command.
but you can query on v$session.
SQL> desc v$session
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------

 SADDR                                              RAW(4)--->32 bit
if RAW(8)----> 64 bit.




regards
Taj
Re: OS version [message #220689 is a reply to message #220678] Wed, 21 February 2007 10:14 Go to previous messageGo to next message
gkrishn
Messages: 506
Registered: December 2005
Location: Putty a dark screen
Senior Member
Taj,
That was realy helpful.thank you.

One more quest.is there any doc on identifying diff OS names.Usualy this is helpful in identifying correct patch.
Re: OS version [message #220690 is a reply to message #220689] Wed, 21 February 2007 10:17 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Hi,
Patch depand on ORACLE VERSION.
so what is your Oracle Version then check with there related or latest patch and check README.txt file for more ( OS SPECIFIC INFORMATION).


regards
Taj
Re: OS version [message #220691 is a reply to message #220690] Wed, 21 February 2007 10:22 Go to previous messageGo to next message
gkrishn
Messages: 506
Registered: December 2005
Location: Putty a dark screen
Senior Member
Mohammad Taj wrote on Wed, 21 February 2007 10:17

Patch depand on ORACLE VERSION.



Hi, i think patch depend on both OS version (platform) and Oracle version.

Re: OS version [message #220694 is a reply to message #220691] Wed, 21 February 2007 10:23 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Yes,
It is depand on both.
but when you want to apply any patch what you check first >> OS or ORACLE VERSION ?


regards
Taj
Re: OS version [message #220695 is a reply to message #220678] Wed, 21 February 2007 10:27 Go to previous messageGo to next message
gkrishn
Messages: 506
Registered: December 2005
Location: Putty a dark screen
Senior Member
First Oracle version.
then i will have to identify what is my OS version.OS version namings were alwas confusing for me Mad
Re: OS version [message #220697 is a reply to message #220695] Wed, 21 February 2007 10:33 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Hi,
You can check your OS version.
To determine which version of Solaris is installed, enter the following command:

# uname -r

For 32 bit or 64 bit.

To determine whether the system architecture can run the software, enter the following command:

# /bin/isainfo -kv



and check complete SOLARIS VARSION LIST.
http://download-uk.oracle.com/docs/cd/B19306_01/install.102/b28053/toc.htm#BABIAECC


regards
Taj
Re: OS version [message #220699 is a reply to message #220678] Wed, 21 February 2007 10:39 Go to previous messageGo to next message
gkrishn
Messages: 506
Registered: December 2005
Location: Putty a dark screen
Senior Member
All very useful tips,
Thanks a lot Taj Razz
Re: OS version [message #220739 is a reply to message #220699] Wed, 21 February 2007 18:43 Go to previous messageGo to next message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
Not sure is this is accurate, but if you run the file command - it'll tell you 32 or 64 bit:

> uname -a
SunOS dante 5.8 Generic_117350-08 sun4u sparc SUNW,Sun-Fire-280R

## Do a file on any binary file
> file /usr/bin/ls
/usr/bin/ls:    ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
Re: OS version [message #220786 is a reply to message #220739] Thu, 22 February 2007 02:19 Go to previous messageGo to next message
tahpush
Messages: 961
Registered: August 2006
Location: Stockholm/Sweden
Senior Member

64-bit mode

% isalist -v 
sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
% isainfo -v
64-bit sparcv9 applications
32-bit sparc applications


32-bit mode

% isalist -v 
sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
% isainfo -v
32-bit sparc applications

[Updated on: Thu, 22 February 2007 02:20]

Report message to a moderator

Re: OS version [message #220862 is a reply to message #220786] Thu, 22 February 2007 07:21 Go to previous message
shahnazurs
Messages: 240
Registered: June 2005
Location: India
Senior Member
Hi.

You can try the following to get...

$isainfo -bv
64-bit sparcv9 applications

$isainfo -b
64
Means 64bit address....( Hope it is 64bit )

If i am mistake, please correct me Sad

Thanks,
Shahnaz.
Previous Topic: Unix Shell Script - No of users connected to oracle database
Next Topic: is it possible..............
Goto Forum:
  


Current Time: Fri Dec 09 06:15:46 CST 2016

Total time taken to generate the page: 0.05737 seconds