bootinfo for AIX:
...shows whether the hardware in use is 32-bit or 64-bit.
What command/utility for Linux would do this job?
|
|
|
There are several possible answers depending on what exactly you want to know (I don't know which one AIX's
|
|||
|
|
|
Usually The output of both of these commands will tell you the architecture for which the kernel was built. Whether this is 32 or 64 bit is usually pretty clear (x86_64 and ia64 are two possible 64-bit architectures). However, note that you could have a 32-bit kernel while running on 64-bit hardware. If you really want to know about the hardware try looking at either
if the "flags" line has 'lm' in it, then it is 64 bit. Or, if you have
and look at the "width" line. For both of these options, |
||||