-
-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add process filter #218
Add process filter #218
Conversation
Hi @raboof, any thoughts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments here and there for your consideration, but LGTM. LMK when you're happy and this can be merged.
It is possible to filter by process id! Add the -P <pid> flag. Example: `nethogs -P 123 -P 333` to filter the processes: 123 and 333
Hi, @raboof sorry for being so late ... Could you please take a look, I have applied your suggestions ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks!
Add new option(-P <pid>) to show only traffic about process that the user wants to.
Other processes are caught as unknown tcp/udp