Vlad the Impala
Vlad the Impala

Reputation: 15882

How do I figure out a computer's architecture from the command line?

Is there a standard program I can use to find out whether I'm on an i386 or x86, 32-bit or 64-bit machine? I'm on a Unix box.

Upvotes: 3

Views: 2359

Answers (2)

pisek
pisek

Reputation: 1448

less /proc/cpuinfo

There should be more info there...

Upvotes: 0

Nikolai Fetissov
Nikolai Fetissov

Reputation: 84239

uname -a

Upvotes: 9

Related Questions