git: top: Actually implement DragonFly code for the interactive 'c' command.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Tue Nov 10 14:04:23 PST 2015


commit ea03a758f244a3ff294b82ff1804bb8966b8bca6
Author: Imre Vadász <imre at vdsz.com>
Date:   Tue Nov 10 22:18:28 2015 +0100

    top: Actually implement DragonFly code for the interactive 'c' command.
    
    Using the 'c' command now allows filtering displayed processes by
    command name, as documented in top(1). Filtering by command name displays
    only processes whose command contains the given substring.
    This matches thte behaviour of the 'g' option in OpenBSD's top.
    
    Using 'c' again and just pressing enter without entering a command name,
    disables filtering and displays all processes again.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ea03a758f244a3ff294b82ff1804bb8966b8bca6


-- 
DragonFly BSD source repository



More information about the Commits mailing list