Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2003
    Posts
    12

    Question Unanswered: 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.

  2. #2
    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!

  3. #3
    Join Date
    Oct 2003
    Posts
    12
    Thanks Noober you gave me an idea!

  4. #4
    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

  5. #5
    Join Date
    Oct 2003
    Posts
    12
    Thanks Shriyan it's been a big help!....................

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •