From owner-freebsd-smp Tue Feb 5 19: 1:43 2002 Delivered-To: freebsd-smp@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id BC6BC37B404; Tue, 5 Feb 2002 19:01:36 -0800 (PST) Received: from pool0362.cvx40-bradley.dialup.earthlink.net ([216.244.43.107] helo=mindspring.com) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16YIL0-0000nC-00; Tue, 05 Feb 2002 19:01:35 -0800 Message-ID: <3C609C8A.2D0B5881@mindspring.com> Date: Tue, 05 Feb 2002 19:01:30 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Dreamtime.net Inc." Cc: freebsd-smp@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: Questions on SMP Status References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "Dreamtime.net Inc." wrote: > Is there a command to find out exactly what processes are running for each > processor? It seems when I run TOP, the only process that shows me which > processor is running is TOP. There are not per processor run queues at present. This means that processes are in three states: 1) Suspended (not on the run queue, not associated with a particular CPU) 2) Runnable, but not running (on the run queue, not associated with a particular CPU) 3) Running (on a particular CPU) In other words, the question you are really asking is "how do I obtain CPU affinity information?", and the answer is "there is no CPU affinity, and therefore no CPU affinity information to obtain". -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message