qenable(8B)

πŸ“¦ version 6.1.3, in epel 9, nixos 26.05, nixpkgs unstable

πŸ’… qenable(8B) β€” like, the PBS page for turning a destination back ON πŸ’…

okay so real talk, this is qenable from the PBS manual set (section 8B, the admin commands, iykyk). she's the counterpart to qdisable and she's literally the "you're un-grounded, go accept jobs again" button. let's get into it 🫢


✨ NAME ✨

qenable β€” enable input to a pbs destination 🌸

like, "input" meaning jobs. she opens the door back up.


πŸŽ€ SYNOPSIS πŸŽ€

qenable destination ...

that's it. that's the whole vibe. one or more destinations, go πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

so qenable directs that a destination should accept batch jobs. that's the whole assignment, bestie.

what actually happens: qenable sends a Manage request to the batch server specified by destination. and if the command is accepted, the destination will accept Queue Job requests which specified the queue. slay. the queue is back in business ✨

⚠️ okay important permission check before you get all main character about it: in order to execute qenable, the user must have PBS Operation or Manager privilege. no privilege, no enabling. it's giving "you don't have the keys to this house" 😭

πŸ‘‘ OPERANDS πŸ‘‘

qenable accepts one or more destination operands. and those operands are one of three forms, bestie β€” memorize these, there will be a quiz:

queue
@server
queue@server
  • queue β€” if queue is specified, the request is to enable that queue at the default server 🧚
  • @server β€” if the @server form is given, the request is to enable all the queues at that server πŸ”₯
  • queue@server β€” if a full destination identifier, queue@server, is given, the request is to enable the named queue at the named server πŸ’…

see? three forms, three vibes, all iconic.


πŸ’€ STANDARD ERROR πŸ’€

qenable will write a diagnostic message to standard error for each error occurrence. so if something goes sideways, she tells you. every time. no silent suffering πŸ™ˆ


🌈 EXIT STATUS 🌈

  • upon successful processing of all the operands presented to the qenable command, the exit status will be a value of zero βœ… ate and left no crumbs
  • if the qenable command fails to process any operand, the command exits with a value greater than zero πŸ’€ so check that $? before you celebrate

πŸ¦‹ SEE ALSO πŸ¦‹

  • pbs_server(8B)
  • qdisable(8B)
  • qmgr(1B)

go read qdisable(8B) too if you wanna know who put the queue in timeout in the first place 😌


k that's the whole page, mwah πŸ’œ this one's from the Local source (PBS, section 8B) β€” no date on this baby, so just take the Local and the qenable(8B) stamped at the bottom as her little signature. stay enabled, bestie 🌟

πŸ“¦ where this page comes from