upgrade on AIX to E-server or P-server

Dennis Malen dmalen at malen.com
Fri Nov 18 13:40:20 PST 2005


Thanks Ken,

I'll e-mail this to my supplier and have them do it.

Dennis
----- Original Message ----- 
From: "Kenneth Brody" <kenbrody at bestweb.net>
To: "Dennis Malen" <dmalen at malen.com>
Cc: "FilePro Mailing List" <filepro-list at lists.celestial.com>
Sent: Friday, November 18, 2005 3:30 PM
Subject: Re: upgrade on AIX to E-server or P-server


> Quoting Dennis Malen (Fri, 18 Nov 2005 15:16:46 -0500):
> 
>> Ken,
>>
>> How do I determine if  the new server is little-endian?
> [...]
>> > If the new system is little-endian (as opposed to the RS/6000's big-
>> > endian architecture), then swapcpu can be used to convert the files.
> 
> One way is to determine which CPU the system uses, and the find out
> what endedness that chip uses.
> 
> Another would be to test it directly:
> 
> #include <stdio.h>
> 
> main()
>    {
>    long l = 0x11223344;
>    char *pt = (char *)&l;
> 
>    printf("%02x %02x %02x %02x\n",pt[0],pt[1],pt[2],pt[3]);
>    }
> 
> If you get "11 22 33 44", it's big-endian.  If you get "44 33 22 11",
> it's little-endian.  (If you get "33 44 11 22", it's a PDP-11.)
> 
> --
> KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
> http://www.hvcomputer.com
> http://www.fileProPlus.com
> 
> 
>



More information about the Filepro-list mailing list