Subject: Re: how to determine the number of processors
To: Georg Schwarz <geos@epost.de>
From: Antti Kantee <pooka@cs.hut.fi>
List: tech-pkg
Date: 05/31/2004 12:23:54
On Mon May 31 2004 at 11:18:02 +0200, Georg Schwarz wrote:
> > IRIX5:
>
> /usr/sbin/mpadmin -n |/sbin/wc -l should do.
> mpadmin(1) says:
>
> -n Report which processors are physically configured. The numbers
> of the physically configured processors are printed on the
> standard output, one processor number per line. Processors are
> numbered beginning from 0.
Ah, I guess that's better than my suggestion. Seems to work for IRIX6
also (or least prints a "0" ;)
--
Antti Kantee <pooka@iki.fi> Of course he runs NetBSD
http://www.iki.fi/pooka/ http://www.NetBSD.org/
"connoisseurs do not chill their malts."