Posts

Showing posts from October, 2007

32 Bit 64 Bit Funda

How to identify the machine is 64-bit SUN/HP-UX/AIX ? -on Solaris box the command : a) dmesg | grep bit if system is 64 bit then it returns with output : SunOS Release 5.7 Version 64-bit [UNIX(R) System V Release 4.0] b) isainfo -v 64-bit sparcv9 applications 32-bit sparc applications When the same command is run on older SPARC systems, or on UltraSPARC systems running the 32-bit operating system: % isainfo -v 32-bit sparc applications -on HP box the command: a) swlist | grep bit if system is 64 bit then it returns output : HPUXEng64RT B.11.00 English Hp-UX 64-bit Runtime Environment. b) getconf command can be used with the following arguments _CS_KERNEL_BITS Returns whether the executing kernel is running in 32-bit or 64-bit mode. _CS_HW_CPU_SUPP_BITS "32" Only 32-bit HP-UX is supported "32/64" Both 32-bit and 64-bit HP-UX are supported "64" Only 64-bit HP-UX is supported. - on AIX box cat init