sanjaypraj
asked on
32 or 64 bit of HP_UX
Can someone tell me how to check if the HP - Unix(11.x) you are running is of 32 bit or 64 bit. is there any command to check that.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks yuzh and liddler , the info provided was very informative.
that wld do it.
if u R lazy, run SAM and check on the "system properties".
the answer u R looking for is there too.
if u R lazy, run SAM and check on the "system properties".
the answer u R looking for is there too.
Why delete? Comment ID 10329323 is the answer to this question.
A machine can be 32-bit or 64-bit. The determination of "bitness" is made at install or update time. You can "Update" from 11.00 32-bit to 11.00 64-bit and vice versa--a practice known as "sidedating." If you are sidedating from 11.00 64-bit to 11.00 32-bit, remember that 64-bit binary data cannot be used by 32-bit applications.
64-bit machines can run 32-bit and 64-bit applications. Use the file(1) command to determine whether a file is 32-bit or 64-bit.
64-bit is described as ELF-64
32-bit is described as PA-RISC
You can use this technique to tell if a machine is 32-bit or 64-bit, by applying it to /stand/vmunix. Another way, and one that works well in scripts, is to use the getconf(3M) command, passing KERNEL_BITS. For example, getconf KERNEL_BITS will return either "32" or "64."
So:
file /stand/vmunix
should do it