oarstat(1)

✨ oarstat β€” bestie edition ✨

okay so real quick, the manual name is oarstat from the oarstat(1) page, and it lives in the OAR commands family 🫢

🌸 NAME 🌸

oarstat β€” show information about jobs πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

oarstat [-X|-Y|-J|-D|-f] [-j [jobid]|--array arrayid] [--sql
SQL_properties] [-u [user]] [--array] [--compact] [--format num]

oarstat [-e|-p] [-j jobid | --array arrayid]

oarstat -s [-X|-Y|-J|-D] -j [jobid]

oarstat [-X|-Y|-J|-D] --gantt "YYYY-MM-DD hh:mm:ss, YYYY-MM-DD hh:mm:ss"

oarstat --accounting "YYYY-MM-DD, YYYY-MM-DD"

πŸ’… DESCRIPTION πŸ’…

This command is used to show information of jobs in the OAR batch scheduler. that's it, that's the whole vibe β€” it's your little window into what every job is doing, no cap πŸ‘‘


✨ OPTIONS ✨

  • -f, --full β€” very detailed display. heads up tho β€” this option does literally nothing when you're using machine parseable outputs (like -J), because those already contain all the available data. no crumbs left behind fr fr πŸ’€
  • -j, --job job_id β€” print information for the given job. tell it which job, bestie 🎯
  • -e, --events β€” print job events only. and yes, machine parseable outputs are also available when used in conjunction with correct options (like -J) 🌈
  • -p, --properties β€” print job properties in the same format as in the $OAR_RESOURCE_PROPERTIES_FILE file on the nodes. machine parseable outputs are also available when used in conjunction with correct options (like -J). please note that no properties will be displayed for jobs in "Waiting" state β€” she's just not ready yet πŸ™ˆ
  • -s, --state β€” print only the state of a given job. it makes a minimal query to the database, optimized for scripting. must be used with -j β€” they're a package deal πŸ’ž
  • -u, --user [login] β€” print information for the current user or the given one. if used with --accounting, print a more detailed accounting report for the user. main character energy, honestly πŸ‘‘
  • --array [array_id] β€” toggle the visualization of array job information. if an array_id is provided, print information relative to the subjobs of the given array job πŸ¦‹
  • -c, --compact β€” prints only one line for all the jobs belonging to a same array. the id is replaced by <N>@<id> where "N" is the number of jobs inside the array and "id" is the id of the array. the state is not relevant for an array of jobs (as some jobs may be waiting while others are running for example), so the state column always shows a dash. slay, condensed πŸ’…
  • --sql β€” restricts display with the SQL where clause on the table jobs (ex: "project = 'p1'") 🧚
  • --format β€” select the text output format. available values are:
    1. default
    2. prints system messages
    3. like default but with better naming for fields

the users can use the environment variable OAR_OARSTAT_OUTPUT_FORMAT to select the output format 1, 2 or 3. pick your fighter ⭐

  • -D, --DUMPER β€” print result in DUMPER format.
  • -X, --XML β€” print result in XML format.
  • -Y, --YAML β€” print result in YAML format.
  • -J, --JSON β€” print result in JSON format. the girlies love a good JSON blob πŸ’–
  • -g, --gantt "date_start,date_stop" β€” print history of jobs and state of resources between two dates like "2006-03-30 13:49:27, 2006-04-30 13:49:27" πŸ”₯
  • --accounting "date_start,date_stop" β€” shows accounting information between two dates like "2006-03-30, 2006-04-30". If --user is also used, more details are shown for this particular user.
⚠️ Warning: the accounting table must be up to date. the update must be done at superuser level with the oaraccounting command. don't come for the numbers if nobody ran the update, iykyk 😭
  • -V, --version β€” print OAR version number.
  • -h, --help β€” print help message.

🌈 SEE ALSO 🌈

oarprint(1), oarsub(1), oardel(1), oarnodes(1), oarhold(1), oarresume(1)


πŸ‘‘ COPYRIGHTS πŸ‘‘

Copyright 2003-2020 Laboratoire d'Informatique de Grenoble (http://www.liglab.fr). This software is licensed under the GNU General Public License Version 2 or above. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


and that's the whole page, bestie πŸŽ€ this was the oarstat page from the oarstat(1) manual, version/date 2025-03-24 β€” mwah, go read your job states, periodt πŸ’œ

πŸ“¦ where this page comes from