grep processor /proc/cpuinfo | wc -l
be accurate, then, for all SMP and non-SMP cases?
James Amundson wrote:
> Jeffrey McDonald wrote:
> > rpm -qa | grep kernel
> > if you see something like:
> > kernel-smp-2.X.XX-XX
> > you have an smp kernel installed.
> > jeff
> That doesn't necessarily mean you are using it...
> I think the only case where Connie's suggestion of
> grep processor /proc/cpuinfo | wc -l
> will fail is where you have multiple processors, but your kernel isn't
> talking to more than one of them. It seems to me that this case is
> pathological enough that it isn't worth worrying about. After all, does
> Kuck et al really care how many processors are in the box if only one is
> being used?