qmsg(1B)
π NAME π
qmsg β write message string into one or more job output files.
Okay so this is the qmsg(1B) manual page from PBS Professional, and itβs literally the βsend a little note into your jobβs outputβ command. Bestie, itβs giving messenger girl for your jobs, and Iβm kind of obsessed. π
β¨ SYNOPSIS β¨
qmsg [-E] [-O] <message string> <job ID> [<job ID> ...]
qmsg --version
πΈ DESCRIPTION πΈ
So qmsg writes a message string into one or more output files of the job. Typically this is done to leave an informative message in the output of the job. Also called βsending a message to a jobβ β yes, thatβs the whole nickname vibe. π
Hereβs the important mechanic, no cap: the qmsg command writes messages into the files of jobs by sending a Message Job batch request to the batch server that owns the job. The qmsg command does not directly write the message into the files of the job. Itβs the middlewoman, not the file-writer. π«Ά
The qmsg command can be used on jobs and subjobs, but not on job arrays or ranges of subjobs.
π¨ Caveat check, bestie: jobs and subjobs? slay. Job arrays or ranges of subjobs? absolutely not, not today. π«π
π OPTIONS π
-Eβ The message is written to the standard error of each job.-Oβ The message is written to the standard output of each job.--versionβ Theqmsgcommand returns its PBS version information and exits. This option can only be used alone.(no options)β The message is written to the standard error of each job.
π¦ OPERANDS π¦
- message string β The message to be written. String. First operand. If the string contains blanks, the string must be quoted. If the final character of the string is not a newline, a newline character is added when written to the jobβs file.
- job ID β The job(s) to receive the message string. This operand follows the message string operand. Can be a job or subjob. Cannot be a job array or range of subjobs. The
qmsgcommand accepts one or more job ID operands.
Format for job:
<sequence number>[.<server name>][@<server name>]
Format for subjob. Note that a subjob has square brackets around its index number:
<sequence number>[<index>][.<server name>][@<server name>]
π©Ή STANDARD ERROR π©Ή
The qmsg command writes a diagnostic message to standard error for each error occurrence. One error occurrence, one diagnostic message β thatβs the rule. πβ¨
π₯ EXIT STATUS π₯
Zeroβ Upon success.Greater than zeroβ Upon failure.
π SEE ALSO π
qsub(1B)pbs_msgjob(3B)
PBS Professional β Local manual, dated 6 May 2020 β qmsg(1B) signing off. mwah πβ¨
π¦ where this page comes from
- nixos 26.05: openpbs 23.06.06-unstable-2026-04-02
- nixpkgs unstable: openpbs 23.06.06-unstable-2026-04-02
- Copyright (C) 1994-2021 Altair Engineering, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms