architecture basic
Hi All,
I wish to know that whether we have anything like 32-bit or 64-bit machine concept in Linux / Solaris as well, or not ? If Yes, then how can we check that ? If not then what is the alternative for that we have here ? Could anybody please help me with this. Thanks in advance, Kapil. |
32 bit and 64 bit processors are a hardware concept, they are not implemented in software. If you are asking if Unix systems support 64 bit hardware, then yes, for a very long time now.
|
Hi MS3FGX,
Thank you for the reply. I have a RHEL5 machine here at my workplace, and I had been told that it is a 64-bit machine. I don't know how can I check that. Also, which one of them, in partivcular, is more prominent in current IT usage ? Like in Windows, we can check these things easily, then how can we check the same thing in Linux ? Thank You, Kapil. |
You can tell all of the information available to the kernel about the CPU with the command:
Code:
cat /proc/cpuinfo |
Hi MS3FGX,
Thank You very much for the clear reply. Thanks, Kapil. |
Quote:
|
Quote:
Code:
uname -a Code:
XXXXXX 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux If your system is running 64 bit, end of question. But if it is running 32 bit, you may want to know whether the cpu is able to run 64 bit (whether it could run 64bit if you had a different copy of RHEL5). To get that type Code:
grep lm /proc/cpuinfo Code:
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm pni monitor ds_cpl cid xtpr Quote:
Quote:
Quote:
What you say about the processor rather than the Linux, is primarily true because all the high performance x86 CPUs are 64 bit capable. So if you were buying a CPU for a 32 bit Linux server, you would almost certainly get a 64 bit CPU. |
All times are GMT -5. The time now is 05:10 PM. |