Re: system call for finding the number of cpus??

Rusty Russell (rusty@rustcorp.com.au)
Thu, 11 Apr 2002 20:11:21 +1000


On Mon, 8 Apr 2002 23:02:39 +0100
"Dr. David Alan Gilbert" <gilbertd@nospam.treblig.org> wrote:

> But I'd actually go and ask the CPU hotswap guys - they must have a way
> of getting a handle on this (hey does that mean you might have cpu0,
> cpu1, cpu3 .... ?)

We use /proc/sys/cpu/*.

Rusty.

-- 
   there are those who do and those who hang on and you don't see too
   many doers quoting their contemporaries.  -- Larry McVoy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/