git: top(1): Handle SCORE (dumping) process state similar to other states
Aaron LI
aly at crater.dragonflybsd.org
Wed Feb 15 06:31:41 PST 2023
commit 7a491db4d92b7514dfa05b421fc01782304b02a7
Author: Aaron LI <aly at aaronly.me>
Date: Wed Feb 15 18:43:44 2023 +0800
top(1): Handle SCORE (dumping) process state similar to other states
Before this change, the SCORE process state would shown as '?P/5' in the
'STATE' column, which could be confusing.
Similar to existing process states (e.g., running, zombie), handle the
SCORE (dumping a core) process state as well. This state will show in
the process line in the header, and also shown as 'DUMP' in the 'STATE'
column for such processes.
Update the man page accordingly. In addition, add copyright text to the
man page.
Reported-by: kworr
Summary of changes:
usr.bin/top/m_dragonfly.c | 23 ++++++++++++++---------
usr.bin/top/top.1 | 40 ++++++++++++++++++++++++++++++++++++----
2 files changed, 50 insertions(+), 13 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7a491db4d92b7514dfa05b421fc01782304b02a7
--
DragonFly BSD source repository
More information about the Commits
mailing list