Is OS 32bit or 64 bit?

Option1:
$  getconf LONG_BIT
64
Option2:
$ uname --processor # or shorter '-p' (non-portable)
x86_64
Option3:
$ uname --hardware-platform # or shorter '-i' (non-portable)
x86_64

Is the hardward 32bit or 64bit?

$ uname --machine # or shorter '-m' (portable)
x86_64