oarprint(1)

✨ oarprint(1) β€” the OAR commands era ✨

okay so bestie, welcome to oarprint, straight out of the OAR commands manual πŸ’…


🌸 NAME 🌸

oarprint β€” pretty print of a job resources πŸŽ€ (yes it's really called that, and yes it's as cute as it sounds)


πŸ¦‹ SYNOPSIS πŸ¦‹

oarprint [options] <key property name>

like, you give it a key property name and it does the thing. that's it. that's the vibe.


πŸ’– DESCRIPTION πŸ’–

Print a sorted output of the resources of a job with regard to a key property, with a customisable format. periodt ✨

ngl that's the whole pitch: sorted, keyed, and fully customisable. main character energy fr fr πŸ‘‘


🌈 OPTION 🌈

okay so here's the menu, no skips, all of it, let's go 🫢

  • -f, --file β€” Input file, default is $OAR_RESOURCE_PROPERTIES_FILE (available within a job). See the EXAMPLES section below for more details. πŸ’–
  • -P, --properties β€” Property to display separated by commas, default: key property.
  • -F,--format β€” Customised output format, default: "%" .
  • -T, --token β€” Substitution token to replace in the format string, default: % .
  • -C, --comma β€” Separator to use when displaying lists, default: , .
  • -l, --list β€” List available properties and exit. (window shopping, we love it πŸ›οΈ)
  • -h, --help β€” Show help usage.

πŸ“ EXAMPLES πŸ“

🧚 On the job connection node (where $OAR_RESOURCE_PROPERTIES_FILE is defined):

oarprint host -P host,cpu,core -F "host: % cpu: % core: %" -C+

🧚 On the submission frontend:

oarstat -j 42 -p | oarprint core -P host,cpuset,mem -F "%[%] (%)" -f -

see how the pipe just slides in there? iconic. the -f - is giving "read from stdin, bestie" πŸ’€βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

go read these too, they're the friend group:

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


πŸ’œ COPYRIGHTS πŸ’œ

Copyright 2003-2016 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.

no cap β€” NO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. that's not me being dramatic, that's literally the license. read it, it's real. 😭

k bye bestie, this was the oarprint page from oarprint 2025-03-24 (manual section oarprint(1)) β€” go print some pretty resources, you got this πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from