59

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
  • 13,223
  • 26
  • 70
  • 104
  • F6 and you can sort by USER instead. Just use the arrow keys to select "USER" and then press Enter. It's not the same but at least it's alphabetical so each USER is isolated and easily distinguishable. – mchid Oct 21 '14 at 18:58

2 Answers2

69

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
  • 31,535
61

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
  • 611