With dpkg:

$ dpkg --print-architecture
amd64

With uname

$ uname -m
x86_64