5

TL;DR: Is there any way to filter two users processes at the same time in htop?

I'm trying to get a list of processes of several users in htop. Code below seems not to work as second --user flag overrides the first one.

htop --user=user1 --user=user2

Similarly,

--user=user1,user2

also didn't work, although it works for PIDs with

--pid=PID1,PID2

command.

I tried from htop itself with F4 filtering, however I wasn't successful.

1

htop author here! No, it is currently not possible, as of htop 2.2.0, but I'll keep that in mind as a feature request!

| improve this answer | |
  • Many thanks to your efforts. – B. Ceylan May 30 at 11:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.