Question & Answer
Question
This document contains commands to help you determine if your operating system is 32- or 64-bit.
Answer
The following are commands that can be executed to determine if you are running an operating system in a 64-bit mode:
- HP-UX:
$ getconf KERNEL_BITS
64
The output of the above command should be 64 for a 64-bit operating system.
- SOLARIS:
$ isainfo
sparcv9 sparc
The output for the above command should be sparcv9 sparc for a 64-bit operating System.
- AIX® 4.3.3 and later:
# bootinfo -y
64
The output of the above command should be 64 for a 64-bit hardware. The command must be executed as root.
Note: on AIX, the -y option will specify if the hardware is 32- or 64-bit mode whilebootinfo -K
will specify if the kernel is 32- or 64-bit (this command must be run as root).
- Linux
uname -a
Linux ora100 2.6.5-7.252-smp #1 SMP Tue Feb 14 11:11:04 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
If the output has "x86_64",the environment is 64 bit.
[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Performance - General\/Tuning","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.7;9.5;9.1;10.1;10.5;11.1","Edition":"Enterprise Server;Express;Personal;Personal Developer's;Workgroup Server","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21114965