If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Informix 7.30.FC7XB 32 or 64 bit?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-27-03, 21:53
nylanej nylanej is offline
Registered User
 
Join Date: Oct 2003
Posts: 12
Question Informix 7.30.FC7XB 32 or 64 bit?

Hi Informix Gurus,

How will I know if Informix 7.30.FC7XB is a 32 bit or 64 bit application?

Any reply is highly appreciated.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 12-09-03, 15:38
noober noober is offline
Registered User
 
Join Date: Oct 2003
Posts: 20
32vs64

Hello,
I had to figure this out on my AIX machines befoer an upgrade, so I am not sure exactrly how generic what I did is and if it applies to the OS you are using, but if your using AIX then your in luck!

I used the "file" command to interogate every file on my system by looking at each files magic number like so:

# step one-build a list of all objects
find / -ls|awk '{print $3,$11}'|grep '^-'|awk '{print
$2}'>/sysadmin/upgradev5r2/all_objects

# step 2-get magic number attributes based on list
file -f all_objects>all_objects_attributes

# step 3-grep out 64bit executables
more all_objects_attributes|grep '64-bit AIX executable'>all_64_bit_exe

I also did something similar to track down all of the shell scripts on my system. The file command (for AIX) has a documented catalog of attribute types that allow you to id just about any kind of object on the system!
Reply With Quote
  #3 (permalink)  
Old 12-10-03, 20:44
nylanej nylanej is offline
Registered User
 
Join Date: Oct 2003
Posts: 12
Thanks Noober you gave me an idea!
Reply With Quote
  #4 (permalink)  
Old 12-11-03, 00:31
vpshriyan vpshriyan is offline
Registered User
 
Join Date: Nov 2003
Location: Mumbai, India
Posts: 92
Hi,

It is a 64 bit Informix version meant for 64 bit Unix OS.

If by any chance, you have already installed it, you can query in one of database with the SQL below:

select
case
when dbinfo('version','os') = 'U' then '32 bit Unix'
when dbinfo('version','os') = 'F' then '64 bit Unix and 64 bit Informix'
when dbinfo('version','os') = 'H' then '64 bit Unix and 32 bit Informix'
when dbinfo('version','os') = 'W' then 'Windows'
when dbinfo('version','os') = 'T' then 'Windows NT / 2000'
else 'Unknown OS version'
end
from systables where tabid=1;

Regards,
Shriyan
Reply With Quote
  #5 (permalink)  
Old 12-14-03, 20:22
nylanej nylanej is offline
Registered User
 
Join Date: Oct 2003
Posts: 12
Thanks Shriyan it's been a big help!....................
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On