65

How can I display only the processes of a specified user in htop?

Applying a filter (F4) doesn't seem to work, because it doesn't seem to apply the filter on the USER column.

a06e
  • 14,233

2 Answers2

79

From man htop:

   -u --user=USERNAME
          Show only the processes of a given user

So, if you run htop -u colord, you'll only see processes by the user colord.

Alaa Ali
  • 32,213
67

Another possibility is to press the 'u' key in htop. A selector that allows you to filter the process list by users will be displayed.

Domi
  • 671