From owner-freebsd-current@FreeBSD.ORG Mon Jan 17 07:02:13 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 979C116A4CF for ; Mon, 17 Jan 2005 07:02:13 +0000 (GMT) Received: from pimout3-ext.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DEE543D45 for ; Mon, 17 Jan 2005 07:02:10 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-216-100-134-143.dsl.snfc21.pacbell.net [216.100.134.143])j0H71eoB234910; Mon, 17 Jan 2005 02:01:51 -0500 Message-ID: <41EB62D2.10101@elischer.org> Date: Sun, 16 Jan 2005 23:01:38 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a3) Gecko/20041017 X-Accept-Language: en, hu MIME-Version: 1.0 To: "Wilkinson, Alex" References: <20050117062118.GA62565@squash.dsto.defence.gov.au> In-Reply-To: <20050117062118.GA62565@squash.dsto.defence.gov.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: [DDB] show pcpu .... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 07:02:13 -0000 Wilkinson, Alex wrote: > Can anyone point me to an explanation of 'show pcpu' ? > > It is first introduced here: > > http://www.freebsd.org/releases/5.0R/DP1/relnotes-i386.html Each processor has a memory section that contains a separate and different copy of the per-cpu structure (struct pcpu). The fields of this structure are usually accessed via the PCPU_GET() and PCPU_SET() macros. curthread (or curproc in earlier systems) is defined in terms of thiese macros. "show pcpu" shows the values of the particular insatanc of this structure for the cpu on which the ddb is running. > > With a link to ddb(4) man page: > > http://www.freebsd.org/cgi/man.cgi?query=ddb&sektion=4&manpath=FreeBSD+5.0-current > > However, the man page says nothing whatsoever about 'show pcpu'. > > Anyone ? > > - aW > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"