Archive for the tag '64'

Find If Processor CPU is 64 bit or 32 bit

Try this to find out if your CPU/Processor is 32 bit or 64 bit

~$ getconf LONG_BIT
32

NAME
getconf - Query system configuration variables

SYNOPSIS
getconf [-v specification] system_var

getconf [-v specification] path_var pathname

DESCRIPTION
-v

Indicate the specification and version for which to obtain
configuration variables.

system_var

A system configuration variable, as defined by sysconf(3) or
confstr(3).

path_var

A system configuration variable as defined by pathconf(3). This
must be used with a pathname.