Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2008 13:47:57 -0800
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        =?utf-8?Q?Nikola_Kne=C5=BEevi=C4=87?= <laladelausanne@gmail.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: ps not showing CPU# correctly
Message-ID:  <B580FCC7-DFD3-416C-97C7-D509BB291C34@gmail.com>
In-Reply-To: <7555893E-5D2F-4C3C-A1C7-7BCC2461AE23@gmail.com>
References:  <7555893E-5D2F-4C3C-A1C7-7BCC2461AE23@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 26, 2008, at 11:20, Nikola Kne=C5=BEevi=C4=87 =
<laladelausanne@gmail.com> =20
wrote:

> Hi,
>
> on my system, I noticed that ps(1) is not showing the CPU# correctly =20=

> (it always displays 0). There was a bug in it, and it was fetching =20
> ki_estcpu instead of ki_lastcpu.
>
> The attached patch fixes this issue.
>
> Cheers,
> Nikola
>
> <ps.patch>

>
Could you please submit this patch in a PR so we can track the change =20=

better?
Thanks!
Garrett=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B580FCC7-DFD3-416C-97C7-D509BB291C34>