smp kernel bash script
Alexander Dalloz
ad+lists at uni-x.org
Wed Jan 12 19:39:38 UTC 2005
Am Mi, den 12.01.2005 schrieb James Kosin um 20:03:
> No, Alexander is correct. An SMP kernel only applies to running on
> more than one CPU. With a normal kernel and single, dual or quad
> (SMP) you will only get cpu0 file.
> If you have an SMP kernel and running on a board with more than one
> CPU, you will get multiple cpu? files. One file for each CPU.
> James
Hi James,
I now understand Chadley's reformulated question this way: given you
have an SMP (i.e. dual CPU) system but you boot a single CPU kernel (for
whatever reason) - will then in /proc/stat appear cpu, cpu0 _and_ cpu1
or just cpu and cpu0?
Paul had the same insecurity when he suggested to check whether
/proc/cpuinfo contains a "processor : 1" entry in such a case.
As I don't have a system where I can check this actually, someone with
ability to look at should answer.
Alexander
--
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.10-1.8_FC2smp
Serendipity 20:32:02 up 1 day, 18:42, load average: 0.11, 0.62, 0.71
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20050112/3a245181/attachment-0002.bin
More information about the users
mailing list