git: DragonFly_RELEASE_6_4 top(1): Handle SCORE (dumping) process state similar to other states

Aaron LI aly at crater.dragonflybsd.org
Wed Feb 15 06:31:40 PST 2023


commit 08017bface6c16c0b87e95886ff25cca0697a405
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/08017bface6c16c0b87e95886ff25cca0697a405


-- 
DragonFly BSD source repository


More information about the Commits mailing list