[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Determining if system has multiple processors in %post section



Hello list,

In the %post section I need to determine how many processors my system has.
If there is one processor I will install my recompiled kernel, otherwise
I'll let the default be the smp-kernel.  I thought I could grep the
/proc/cpuinfo file to determine the number of processors but during
kickstart it only shows one processor even though my system has two.  The
file doesn't seem to get updated with information for the second processor
until the system boots into the smp-kernel.  Any thoughts/hints on how I
could determine the number of processors in the system?  How does anaconda
automagically know when there are multiple processors?

Thank you.

Rebecca





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]