Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2020 20:55:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 129965] [patch] ps(1): ps -lH doesn't show the proper CPU#
Message-ID:  <bug-129965-227-YvaIC7EMAl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-129965-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-129965-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D129965

Piotr Pawel Stefaniak <pstef@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pstef@freebsd.org

--- Comment #4 from Piotr Pawel Stefaniak <pstef@freebsd.org> ---
I don't think that the patch is correct. My main disagreement with it is the
replacing of ki_estcpu with ki_lastcpu, which would render a part of the ma=
nual
page definitely incorrect.

It seems to me that the intention of the keyword "cpu" really is "short-term
CPU usage factor (for scheduling)" as the manual page puts it. I believe th=
at
it isn't meant to show the CPU on which the process is running.

Therefore, I think, the way forward is to add another keyword to do what you
expected of the keyword "cpu". My patch calls it "cpu#" and is currently un=
der
review at https://reviews.freebsd.org/D25377

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-129965-227-YvaIC7EMAl>