Date: Tue, 29 May 2007 12:37:53 +0100 From: Mike Bristow <mike@urgle.com> To: Suresh Kumar J <suresh.kumar.j@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Using get_system_info() - Obtaining the CPU states... Message-ID: <20070529113753.GA37427@wafer.urgle.com> In-Reply-To: <88b2f6dd0705290354l261e5995ta2af8cc2157d0f89@mail.gmail.com> References: <88b2f6dd0705290354l261e5995ta2af8cc2157d0f89@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 29, 2007 at 04:24:27PM +0530, Suresh Kumar J wrote: > I learnt that the "top" command uses the get_system_info() function > for printing the CPU state detail. But I could not locate the source > code of this function. Could anybody help me in locating the > header/source file in which the get_system_info() function is > located? /usr/src/usr.bin/top/machine.c (which can be found on the web at http://cvsweb.freebsd.org/src/usr.bin/top/machine.c) -- Shenanigans! Shenanigans! Best of 3! -- Flash
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070529113753.GA37427>