feat: display listening ports in pm2 ls / show
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
since pm2 knows the pid of every process it manages, it should also show which ports each one is listening on imho
Currently the only workaround is ss -tnlp | grep node which doesn't map cleanly to pm2 process names
Something like a port column in pm2 ls output would be great
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the CLI entry points that implement pm2 ls and pm2 show, then inspect how metadata for each managed PID is collected and rendered. Define how listening ports should be discovered and represented, including processes with no detected port; done means both commands show a useful port column.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100