From owner-freebsd-hackers Sun May 20 13:57:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id A9C5437B424 for ; Sun, 20 May 2001 13:57:50 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id QAA25726; Sun, 20 May 2001 16:57:48 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f4KKvIn59190; Sun, 20 May 2001 16:57:18 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15112.12205.953218.814741@grasshopper.cs.duke.edu> Date: Sun, 20 May 2001 16:57:17 -0400 (EDT) To: Arun Sharma Cc: FreeBSD Hackers Subject: Re: _SC_NPROCESSORS_CONF In-Reply-To: <20010520124211.A10735@sharmas.dhs.org> References: <20010520124211.A10735@sharmas.dhs.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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