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
- debian trixie: oar-common 2.6.1-1 Β· GPL-2.0-or-later
- ubuntu questing: oar-common 2.6.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms