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

Please bring back the --sort option #4536

Closed
datdinhquoc opened this issue Dec 3, 2019 · 13 comments
Closed

Please bring back the --sort option #4536

datdinhquoc opened this issue Dec 3, 2019 · 13 comments

Comments

@datdinhquoc
Copy link

datdinhquoc commented Dec 3, 2019

#3994

What's going wrong?

The --sort option is no longer available in PM2 4.2.
I have many processes running and usually use "pm2 delete all" to have the process ids reindexed from zero; and run "pm2 list --sort id" to see them in order. It's great that --sort option was in version 3.5 but it's sad now that --sort option is no longer in version 4.2.
Please bring the --sort option back.

How could we reproduce this issue?

Use PM2 3.5, run: pm2 list --sort id
[A table with rows sorted by id]

Use PM2 4.2, run: pm2 list --sort id
error: unknown option `--sort'

@stale
Copy link

stale bot commented May 23, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 23, 2020
@datdinhquoc
Copy link
Author

not stale pls, this --sort option is useful

@stale stale bot removed the stale label May 24, 2020
@stale
Copy link

stale bot commented Jun 23, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 23, 2020
@jimmybrancaccio
Copy link

jimmybrancaccio commented Jun 23, 2020

No, bad bad bot.

@stale stale bot removed the stale label Jun 23, 2020
@stale
Copy link

stale bot commented Jul 23, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 23, 2020
@lewisakura
Copy link

Good feature, bad bot.

@stale stale bot removed the stale label Jul 23, 2020
@10w73
Copy link

10w73 commented Aug 20, 2020

I'd love to see you bringing --sort back too!

@BarryThrill
Copy link

I agree! Even if its possible to add --sort namespace:desc aswell!

@AcidSlide
Copy link

Yup "--sort" is very useful.. please please please bring it back

why did they remove it (again) anyway??? this is I think the second time they removed it

@Unitech
Copy link
Owner

Unitech commented Dec 9, 2020

option restored, will land on next release

@dhruv9499
Copy link

dhruv9499 commented Dec 15, 2020

option restored, will land on next release

When is the next release ?

@Unitech
Copy link
Owner

Unitech commented Dec 16, 2020

Released:

npm install pm2@latest -g
pm2 update

Cheers!

@Unitech Unitech closed this as completed Dec 16, 2020
@AcidSlide
Copy link

Thanks! --sort is a very helpful option. Tested and working! Super thanks!

I just hope they don't remove it (again) in future releases.. hahaha

mendrix pushed a commit to mendrix/pm2 that referenced this issue Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants