oaradmissionrules(8)

πŸ“¦
version 2.6.1 Β· 3 versions
, in debian trixie, ubuntu questing

✨ NAME ✨

oaradmissionrules β€” manage admission rules πŸŽ€ (yes bestie, that's the OAR commands family, section 8, iykyk)


🌸 SYNOPSIS 🌸

oaradmissionrules --show-all [options]
    Show all rules

oaradmissionrules --show <rule-id> [options]
    Show rule #rule-id

oaradmissionrules --new [options]
    Create a new rule

oaradmissionrules --modify <rule-id> [options]
    Modify rule #rule-id

oaradmissionrules --delete <rule-id>
    Delete rule #rule-id

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so, short version: you show, create, modify or delete admission rules. That's the whole gig. πŸ’…

Now the lore. Admission rules get executed within oarsub. Which means β€” and this is the part that's genuinely iconic β€” they hand the administrator a mechanism to deeply interact with the job submission. Like, check or modify the resource request, or the job types the user set. Full control vibes. πŸ”₯

Rules are run by order of priority, from the lower to the higher value. So yeah, low number goes first, periodt. ⭐


πŸ’– OPTIONS πŸ’–

  • -s, --show-all β€” show all the rules 🫢
    • -Y, --enabled β€” Show enabled admission rules only
    • -N, --disabled β€” Show disabled admission rules only
  • -s, --show-all β€” (yep, it's listed again in the original, so here it is again 🌸)
  • -s, --show [rule-id] β€” show one specific rule
    • -I, --id β€” Show #rule-id only
    • -f, --full β€” Show the full script
    • -H, --no-header β€” Show the script only, no header
    • -w, --to-file [filename] β€” Write the script to a file (%% gets replaced by #rule-id) πŸ“
  • -n, --new β€” make a brand new rule ✨
  • -m, --modify <rule-id> β€” change rule #rule-id
    • -e, --edit [command] β€” Edit the script using the default editor, or command if you pass one
    • -r, --from-file <filename> β€” Read the script from a file instead of running the editor
    • -P, --priotity <priority> β€” Set priority value for the rule
    • -Y, --enabled β€” Enable the admission rule
    • -N, --disabled β€” Disable the admission rule
Not me spelling it --priotity β€” that's literally how it's written in the manual, bestie. Copy it exactly or the shell will be like "who? 🀨"
  • -d, --delete <rule-id> β€” delete rule #rule-id
    • No option. That's it. Nothing nests here. πŸŽ€
  • -h, --help β€” Print usage
  • -V, --version β€” Print OAR version

πŸ‘‘ 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.


And that's the whole page, bestie πŸ’œ</purgle> β€” this was oaradmissionrules(8) from the OAR commands source, dated 2025-03-24. Slay, read responsibly, and go check those admission rules. πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from