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

Document possible job states and their one-letter codes #206

Open
ArthurWalraven opened this issue Jun 7, 2024 · 0 comments
Open

Document possible job states and their one-letter codes #206

ArthurWalraven opened this issue Jun 7, 2024 · 0 comments

Comments

@ArthurWalraven
Copy link

The man page of oarstat does not list the possible states of a job and their one-letter codes used by print_job_data to output in table format. I have witnessed multiple new users be confused with the output of, e.g., oarstat --user ... after suspecting that an F at the S column was short for Failed or something else.

One can find the relevant information at

my %hashestat = (

Otherwise, it can be difficult to find it online. So, using the definition of hashestat, I propose adding the following to the man page of oarstat (under the description of the -s,--state option):
Possible states and their associated one-character abbreviations are 'Waiting' (W), 'toLaunch' (L), 'Launching' (L), 'Hold' (H), 'Running' (R), 'Terminated' (T), 'Error' (E), 'toError' (E), 'Finishing' (F), 'Suspended' (S), 'Resuming' (S), 'toAckReservation' (W), and 'NA' (-).
Precisely, the suggestion is to append this string here:
Print only the state of a given job. It makes a minimal query to the database, optimized for scripting. Must be used with -j.

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

1 participant