Em man htop :
F4, \
Incremental process filtering: type in part of a process command line and only
processes whose names match will be shown. To cancel filtering, enter the Filter
option again and press Esc.
Assim, quando você iniciar o htop , digite \test e pressione Enter para filtrar apenas os comandos que contêm test .