Recently I’ve been working a lot with server setups and stuff like that. I was going to install Ffmpeg and some other modules, and I needed to know the bits of the CPU processor. After looking into various commands I figured out a very simple command that will output exactly what you need.
First, connect to your server via SSH, or if your computer is your server, just open a terminal.
Type in the following:
$ uname -a
You don’t need to have root privileges to execute that command.
My server returned this:
shane@shane-work [~]# uname -a
Linux shane-work 2.6.32-604.30.3.lve1.3.63.el6.x86_64 #1 SMP Sun Sep 27 06:34:10 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
What we really need from all this output, is the x86_64, that means 64bit. To make it easier, if it is i686 then 32 bit, was x86_64, then it’d mean you have a 64bit system.
In conclusion anything that is not x86_64, equals to 32bit.
I hope this is helpful! Anything, please leave a comment.