Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Determining number of processors...
@ 1995-06-13  4:00 George Scott
  1995-06-13  4:00 ` John Stoffel
  0 siblings, 1 reply; 3+ messages in thread
From: George Scott @ 1995-06-13  4:00 UTC (permalink / raw)


In OSF/1 V3.x does anybody know how to determine the number of processors
that are present in the system?  Solaris does this through an extension
to sysconf(), but I don't see an obvious way on OSF/1 short of resorting
to actual mach calls.

George
--
George Scott
Johns Hopkins University / Applied Physics Laboratory
George.Scott@jhuapl.edu
-- 
George Scott
Johns Hopkins University / Applied Physics Laboratory
George.Scott@jhuapl.edu



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Determining number of processors...
  1995-06-13  4:00 Determining number of processors George Scott
@ 1995-06-13  4:00 ` John Stoffel
  1995-06-14  4:00   ` Mark Charette
  0 siblings, 1 reply; 3+ messages in thread
From: John Stoffel @ 1995-06-13  4:00 UTC (permalink / raw)


>>>>> "George" == George Scott <gscott@oneida.jhuapl.edu> 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.  

John






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Determining number of processors...
  1995-06-13  4:00 ` John Stoffel
@ 1995-06-14  4:00   ` Mark Charette
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Charette @ 1995-06-14  4:00 UTC (permalink / raw)


John Stoffel (john@avante.WPI.EDU) wrote:
: >>>>> "George" == George Scott <gscott@oneida.jhuapl.edu> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-06-14  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-13  4:00 Determining number of processors George Scott
1995-06-13  4:00 ` John Stoffel
1995-06-14  4:00   ` Mark Charette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox