printjob(8B)

πŸ“¦ version 23.06.06-unstable-2026-04, in nixos 26.05, nixpkgs unstable

🌸 NAME 🌸

printjob β€” print job information

okay so real talk, this is the PBS Professional 8B manual page, and we're about to make printjob make sense, bestie πŸ’–


✨ SYNOPSIS ✨

printjob [ -a | -s ] <job ID>
printjob [ -a ] <file path> [<file path>...]
printjob --version

πŸ¦‹ DESCRIPTION πŸ¦‹

So printjob prints job information. That's the whole vibe. It's mainly useful for troubleshooting, because during normal operation, the qstat(8B) command is the preferred method for displaying job-specific data and attributes. Like, qstat(8B) is the main character for everyday checking, and printjob is the little detective you call when something's up πŸ”

The server and MoM do not have to be running to execute this command. No cap.

πŸ’œ Usage πŸ’œ

For a running job, you can run this command at any host using a job ID, and you can run this command at any execution host where the job is running using a .JB file path. Slay.

For a finished job, if job history is enabled, you can run this command at the server using the job ID.

When querying the server, you must use the job ID, and the data service must be running.

Results will vary depending on whether you use the job ID or a .JB file, and on which execution host you query with a .JB file. It's giving "context matters," honestly.


πŸ” PERMISSIONS πŸ”

In order to execute printjob, you must have root or Windows Administrator privilege. Periodt. No casual access here, bestie.


πŸŽ€ OPTIONS πŸŽ€

  • (no options) β€” Prints all job data including job attributes. The full lore ✨
  • -a β€” Suppresses the printing of job attributes. Cannot be used with the -s option. Pick a lane, okay?
  • -s β€” Prints out the job script only. Can be used at server or primary execution host. Cannot be used with the -a option. Must be used with a job ID.
  • --version β€” The printjob command returns its PBS version information and exits. This option can only be used alone. Like, don't try to make it a group project πŸ’…

πŸ“ OPERANDS πŸ“

  • file path β€” The printjob command accepts one or more file path operands at the execution host. Files are found in PBS_HOME/mom_priv/jobs/ on the primary execution host. File path must include full path to file. Cannot be used with the -s option.
  • job ID β€” The printjob command accepts a job ID at the server host. Format: <sequence number>[.<server name>][@<server name>]. Data service must be running.

πŸ’€ STANDARD ERROR πŸ’€

The printjob command writes a diagnostic message to standard error for each error occurrence. So if it's mad, it's gonna tell you on stderr, fr fr.


⭐ EXIT STATUS ⭐

  • Zero β€” Upon successful processing of all the operands presented to the printjob command. We love a clean run πŸ‘‘
  • Greater than zero β€” If the printjob command fails to process any operand.

🌈 SEE ALSO 🌈

pbs_server(8B), qstat(8B)


and that's the whole page, bestie 🫢 this was the Local version, dated 6 May 2020, and the footer energy is literally printjob(8B) β€” go off and troubleshoot responsibly πŸ’–βœ¨

πŸ“¦ where this page comes from