LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dual-core (https://www.linuxquestions.org/questions/linux-newbie-8/dual-core-724863/)

antranda 05-09-2009 09:05 AM

dual-core
 
Hi all,

I have installed Linux redhat enteprise WS 4.0 on a partition of a pc equipped with a dual-core cpu. Unfortunately, when I go to System Monitor I see only 1 cpu (CPU1). How can I tell to the OS that there are two processors?

The same happens when I install the same version of linux (unfortunately I cannot change kind of linux since I must use a programm running only on that version) as virtual machine on an iMac again possesing an intel dual-core....

Many thanks for your help

hoodooman 05-09-2009 01:04 PM

There is a good chance that the OS already knows there are two cores but the System Monitor isn't showing both of them.One way to check this would be to open a terminal and type "top" without the quotes.Look for the part where top shows Cpu(s).Press 1 on your keyboard.You should now see the second core.The application htop will show both cores by default if you like that better.If there are not two cores or cpus showing you may not have a smp kernel installed by I'm thinking that the installer will have detected your hardware and installed the proper one.Another thing to try is entering "uname -a" into a terminal,the result of this will show if there is a smp kernel installed.Cheers.

dxqcanada 05-09-2009 01:28 PM

Code:

$ less /proc/cpuinfo
This file is created by the kernel and provides details about the processor(s).
You may see one or more processor cores listed.

jay73 05-09-2009 01:28 PM

Or you can run cat /proc/cpuinfo

edit: echo echo. Answer already posted two seconds ago, it appears.

lazlow 05-09-2009 01:58 PM

Not sure but RHEL4.0 may be old enough that you have to install a SMP kernel. If so it will be in the repo. Newer kernels are all SMP, but older ones had separate versions for SMP/nonSMP.

antranda 05-11-2009 09:16 AM

Many thanks for you prompt and useful answer....you were right.....

Best regards


All times are GMT -5. The time now is 06:19 AM.