Relevance to determine 32-bit or 64-bit non-Windows (Linux) machines?

(imported topic written by boerio)

Is there an easy way to determine whether or not a Linux machine is running a 32-bit OS or a 64-bit OS?


(imported comment written by jessewk)

You can try:

architecture of operating system = “x86_64”

If it’s returning false where you’d expect it to return true, just check what ‘architecture of operating system’ returns and compare to that value.