The uname command tells you if the kernel
is 32-bit or 64-bit. i686 means 32-bit (otherwise it would be x86_64). To discover if the CPU
is 32 or 64-bit do:
grep flags /proc/cpuinfo | grep lm
if output is null you have a 32-bit CPU, if output is non null the CPU is 64-bit. lm stats for "Long Mode" that is a feature of 64-bit machines.