Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2001 16:57:17 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Arun Sharma <arun@sharmas.dhs.org>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: _SC_NPROCESSORS_CONF
Message-ID:  <15112.12205.953218.814741@grasshopper.cs.duke.edu>
In-Reply-To: <20010520124211.A10735@sharmas.dhs.org>
References:  <20010520124211.A10735@sharmas.dhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Arun Sharma writes:
 > Single UNIX spec doesn't include the above sysconf(3) argument, but 
 > many UNIX variants do. What's the BSD way of doing this ? 

How about the hw.ncpu sysctl?

Drew

------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer	http://www.cs.duke.edu/~gallatin
Duke University				Email: gallatin@cs.duke.edu
Department of Computer Science		Phone: (919) 660-6590

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15112.12205.953218.814741>