Get CPU information in Linux

It’s quite easy to get CPU information in Linux.Just open terminal and give the following command:

$ cat /proc/cpuinfo

Note : Presence of lm(Long mode) in flags indicate that the CPU is 64 bit whereas its absence indicates that it’s a 32 bit processor.

You can also use uname -i command  to know whether its a 32 bit or a 64 bit processor.

$ uname -i

It will say “i686” for 32bit and “x86_64” for 64bit.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s