Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!dimacs.rutgers.edu!mips!sgi!shinobu!odin!sgihub!dragon!bananapc.wpd.sgi.com!ciemo From: ciemo@bananapc.wpd.sgi.com (Dave Ciemiewicz) Newsgroups: comp.sys.sgi Subject: Re: how do I tell how many processors there are? Message-ID: <1991Feb12.193239.24799@dragon.wpd.sgi.com> Date: 12 Feb 91 19:32:39 GMT References: <9102121402.AA10390@ccfiris.aedc> Sender: news@dragon.wpd.sgi.com (CNews Account) Reply-To: ciemo@bananapc.wpd.sgi.com (Dave Ciemiewicz) Organization: sgi Lines: 37 In article <9102121402.AA10390@ccfiris.aedc>, c60244@ccfiris.aedc (Kenny McDonald) writes: |> >>>Hi! We have a 4D/210 which my boss says it has two processors (the |> >>>original came with only one). But neither osview nor hinv show two |> >>>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. |> >>>I could try running many copies of one job and see how the time scales |> >>>with the number of jobs (or open the box and check the boards!), but I |> >>>would prefer something more elegant, like having a program with a loop |> >>>which I can control which processor will execute, or something like |> >>>that. Any help will be highly appreciated! |> |> |> Try (hinv) to see you hardware inventory. The first line should tell you |> how many processors there are on your machine. In order to run a process on |> a particular processor try the (runon) command. The other way to tell is by the machine designation number: 4D/cp0 c = system processor "class" p = # of processors Following this designation scheme you have: 4D/210 1 processor 4D/220 2 processors 4D/240 4 processors 4D/310 1 processor 4D/320 2 processor 4D/340 4 processor 4D/380 8 processor If your system had an upgrade to two processors, the label might say 4D/210 but hinv, osview, and gr_osview should all indicate two processors. hinv should report: 2 25 MHZ IP7 Processors