From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e7240d929109957a X-Google-Attributes: gidfee84,public From: charette@ultoe.det.dec.com (Mark Charette) Subject: Re: Determining number of processors... Date: 1995/06/14 Message-ID: <3rmsdv$cml@eccdb1.pms.ford.com>#1/1 X-Deja-AN: 104453597 references: <3rkda8$1a7@aplinfo.jhuapl.edu> organization: ECC at Ford Motor Company, Dearborn Michigan newsgroups: comp.unix.osf.osf1 John Stoffel (john@avante.WPI.EDU) wrote: : >>>>> "George" == George Scott writes: : In article <3rkda8$1a7@aplinfo.jhuapl.edu> gscott@oneida.jhuapl.edu (George Scott) writes: : George> In OSF/1 V3.x does anybody know how to determine the number of : George> processors that are present in the system? Solaris does this : George> through an extension to sysconf(), but I don't see an obvious : George> way on OSF/1 short of resorting to actual mach calls. : You can use the getsysinfo() syscall in OSF 3.x to find out various : bits of information about the system. Also, sizer -p will return the number of available CPUs (not necessarily how many are active). -- Mark Charette "Don't crush that dwarf; hand me the pliers" MIKA Systems, Inc. - Firesign Theater 17197 N. Laurel Park Dr Suite 115 Livonia, MI 48152 charette@mika.com