Path: utzoo!attcan!uunet!spool.mu.edu!sdd.hp.com!decwrl!sgi!shinobu!odin!flobb4!micah From: micah@flobb4.csd.sgi.com (Micah Altman) Newsgroups: comp.sys.sgi Subject: Re: how do I tell how many processors there are? Keywords: SGI, CPU, MIPS, IRIX Message-ID: <1991Feb12.063947.24908@odin.corp.sgi.com> Date: 12 Feb 91 06:39:47 GMT References: Sender: news@odin.corp.sgi.com (Net News) Organization: Silicon Graphics, Inc. Mountain View, CA Lines: 25 In figuei@arakis.rutgers.edu (Francisco Figueirido) writes: >processors, they only show one. I was wondering if there is a nice >(i.e., software) way of really telling how many processors there are. From the shell line you can use: hinv(1M) Inside a program use: sysmp(2) with the argument MP_NPROCS This will tell you how many processors are physically configured. It is also possible that you have cpu two boards but they aren't recognized by the kernel at boot-up. I've seen this happen occasionally, it usually disappears for me if I reboot. Hope this helps. -- "Entia non sunt multiplicanda sine necessitate." - William of Ockham Micah Altman, "Computational Juggler" micah@csd.sgi.com Phone (415) 335-1866 FAX (415) 965-2309 Disclaimer: Everything in this document is a lie.