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

Suggestion: add a --sort option to output formats #6322

Open
kkier opened this issue Sep 27, 2024 · 1 comment
Open

Suggestion: add a --sort option to output formats #6322

kkier opened this issue Sep 27, 2024 · 1 comment

Comments

@kkier
Copy link
Contributor

kkier commented Sep 27, 2024

We currently get a lot of use out of custom formats like format = "{timestamp!d:%b%d %R::>12h} {state:>10} {nnodes:>6} {reason:<80.80+} {nodelist}" and then piping to sort to get chronological order. Piping output isn't exactly a big lift, but a --sort option built into flux would let me define preconfigured formats in the toml files with sorted output, and could be further useful for things like sorting flux jobs by node count.

@chu11
Copy link
Member

chu11 commented Sep 27, 2024

Related issue #3066

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

2 participants