Tips 'n' Tricks » GNU/Linux Command Line Tips » To find processor size
To find processor size
Following command returns the size of the processor
eg. 32 or 64 bit.
getconf -a | grep LONG_BIT
This runs the get configuration command with the -a (all) switch. It then pipes the output through grep looking for the line that specifies the LONG_BIT.
For more information run:
man getconfBack to GNU/Linux Command Line Tips