Re: [Linux-ia64] Detecting SMP in user space

Michael Madore
2001-04-19T16:41:39Z

Hi,

Does this work?

/usr/bin/getconf _NPROCESSORS_ONLN

On Thu, Apr 19, 2001 at 11:45:28AM +0200, Andreas Schwab wrote:
> How can I detect an SMP system in user space even when running an UP
> kernel? Things like `cat /proc/cpuinfo' don't count.
>
> Andreas.
>
> --
> Andreas Schwab "And now for something
> SuSE Labs completely different."
> Andreas.Schwab@suse.de
> SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
> Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
>
> _______________________________________________
> Linux-IA64 mailing list
> Linux-IA64@linuxia64.org
> http://lists.linuxia64.org/lists/listinfo/linux-ia64

--
Mike Madore
Software Engineer
TurboLinux, Inc.