git: top: Fix -Sc option combination (bug #2670)

John Marino marino at
Wed May 28 11:52:35 PDT 2014

commit 826597b58e4d70a51d4d17e21e7a797cda77666a
Author: John Marino <draco at>
Date:   Wed May 28 18:26:52 2014 +0200

    top: Fix -Sc option combination (bug #2670)
    It was reported that the "top -S" and "top -c" commands work as expected
    but "top -Sc" showed repeated lines.  I confirmed a malfunction, but a
    different one: all 20 lines showing in console were the same.
    The following patch will revert to standard format if a system command is
    detected, otherwise the desired "full command" option is shown.
    < >

Summary of changes:
 usr.bin/top/m_dragonfly.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list