Subject: Re: how to determine the number of processors
To: Klaus Heinz <email@example.com>
From: Georg Schwarz <firstname.lastname@example.org>
Date: 05/31/2004 11:18:02
Please disregard my previous mail; I mistook processors for processes :-)
> I would like to know how to determine the number of processors under the
> different supported operating systems:
/usr/sbin/mpadmin -n |/sbin/wc -l should do.
-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.
> While we're at it, I also need the identifier Perl assigns to those
> systems (I know already: netbsd, freebsd, linux, solaris, hpux, dec_osf)
> perl -e 'print "$^O\n";'
Georg Schwarz http://home.pages.de/~schwarz/
email@example.com +49 177 8811442