Skip to content
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

show open ports of running processes on linux #62

Closed
dzmitry-lahoda opened this issue Jun 30, 2023 · 5 comments
Closed

show open ports of running processes on linux #62

dzmitry-lahoda opened this issue Jun 30, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@dzmitry-lahoda
Copy link

Feature Request

Show ports on which processes listen

Use Case:

So users can find out ports to connect to

Proposed Change:

So make these visible via cli or tui

Who Benefits From The Change(s)?

Same feature as in docker shows all listen ports

Alternative Approaches

use native linux tooling, so it is not so easy

@dzmitry-lahoda dzmitry-lahoda changed the title shop open ports of running processes on linux show open ports of running processes on linux Jun 30, 2023
@F1bonacc1
Copy link
Owner

Hmmm,

That's a challenging one. I am not sure there is a cross platform way to display all the used ports by the running processes.
Will it help if I add something like processes.proc_name.used_ports, which will be manually filled by the user and I'll show them in TUI in process info F3?

@F1bonacc1 F1bonacc1 added the enhancement New feature or request label Jun 30, 2023
@dzmitry-lahoda
Copy link
Author

yeah, that is i can do without tui and that i want to avoid. so i guess for linux it can be conditionally robust, just show n/a if it fails to get ports.

@F1bonacc1
Copy link
Owner

F1bonacc1 commented Jul 8, 2023

Will it work for you if I show the process open ports in the process info dialog (F3)?

@thenonameguy
Copy link
Contributor

This works really well on the pre-release branch. ✅
Tested with Postgres. IPv6 not tested.

@F1bonacc1
Copy link
Owner

Added in v0.60.0
Feel free to reopen if it doesn't work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants