is system 32 or 64 bit

Asked by dtaciak

used uname -r to find out if 32 or 64 bit. recieved answer generic. so what bit is the system? thanks. dj

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Vojtěch Trefný
Solved:
Last query:
Last reply:
Revision history for this message
Best Vojtěch Trefný (vojtech.trefny) said :
#1

uname -r is for kernel info, for full info use 'uname -a' (but generic kernel is "32bit")

Revision history for this message
Bhavani Shankar (bhavi) said :
#2

Hello

I think to find out the version of ubuntu are you using..

You can use

me@mycomputer:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"

and

me@mycomputer:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 7.10
Release: 7.10
Codename: gutsy

and

bhavi@gutsy:~$ uname -a
Linux gutsy 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 x86_64 x86_64 x86_64 GNU/Linux
(If you have 64 bit installed then x86_64 will be there)
and to know 64 bit support

you have to use

less /proc/cpuinfo

Output:

processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) D CPU 3.00GHz
stepping : 4
cpu MHz : 3000.185
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid cx16 xtpr
bogomips : 6005.11
clflush size : 64

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) D CPU 3.00GHz
stepping : 4
cpu MHz : 3000.185
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid cx16 xtpr
bogomips : 5999.89
clflush size : 64

Look for flag entry in above output. If you see lm flags then you will able to run 64 bit kernel and applications.

Regards

Bhavani Shankar.

Revision history for this message
dtaciak (taciak-1) said :
#3

thanks for your help, sorts things out a bit, later...dj

Revision history for this message
dtaciak (taciak-1) said :
#4

thanks, gives me a better idea of things. catch you round, dj