[Bug 129965] [patch] ps(1): ps -lH doesn't show the proper CPU#
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jun 20 20:55:44 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=129965
Piotr Pawel Stefaniak <pstef at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pstef at freebsd.org
--- Comment #4 from Piotr Pawel Stefaniak <pstef at 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 manual
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 that
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 under
review at https://reviews.freebsd.org/D25377
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list