IBM Support

Determining if Linux is running in 32-bit or 64-bit mode

Question & Answer


Question

How do I determine if the Linux operating system is running in 32-bit or 64-bit mode?

Answer

At the command prompt, enter the following:

 uname –i 

For 32-bit systems, the output is as follows:
i386

For 64-bit systems, the output is as follows:
x86_64

[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

NZ545228

Document Information

Modified date:
17 October 2019

UID

swg21571116