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,--jobjob_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_FILEfile 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 tablejobs(ex:"project = 'p1'") π§--formatβ select the text output format. available values are:- default
- prints system messages
- 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--useris 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
- debian trixie: oar-user 2.6.1-1 Β· GPL-2.0-or-later
- ubuntu questing: oar-user 2.6.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms