git: top(1): Handle SCORE (dumping) process state similar to other states
aly at crater.dragonflybsd.org
Wed Feb 15 06:31:41 PST 2023
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
Summary of changes:
usr.bin/top/m_dragonfly.c | 23 ++++++++++++++---------
usr.bin/top/top.1 | 40 ++++++++++++++++++++++++++++++++++++----
2 files changed, 50 insertions(+), 13 deletions(-)
DragonFly BSD source repository
More information about the Commits