qorder.1B 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. .\" Copyright (C) 1994-2018 Altair Engineering, Inc.
  2. .\" For more information, contact Altair at www.altair.com.
  3. .\"
  4. .\" This file is part of the PBS Professional ("PBS Pro") software.
  5. .\"
  6. .\" Open Source License Information:
  7. .\"
  8. .\" PBS Pro is free software. You can redistribute it and/or modify it under the
  9. .\" terms of the GNU Affero General Public License as published by the Free
  10. .\" Software Foundation, either version 3 of the License, or (at your option) any
  11. .\" later version.
  12. .\"
  13. .\" PBS Pro is distributed in the hope that it will be useful, but WITHOUT ANY
  14. .\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  15. .\" FOR A PARTICULAR PURPOSE.
  16. .\" See the GNU Affero General Public License for more details.
  17. .\"
  18. .\" You should have received a copy of the GNU Affero General Public License
  19. .\" along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. .\"
  21. .\" Commercial License Information:
  22. .\"
  23. .\" For a copy of the commercial license terms and conditions,
  24. .\" go to: (http://www.pbspro.com/UserArea/agreement.html)
  25. .\" or contact the Altair Legal Department.
  26. .\"
  27. .\" Altair’s dual-license business model allows companies, individuals, and
  28. .\" organizations to create proprietary derivative works of PBS Pro and
  29. .\" distribute them - whether embedded or bundled with other software -
  30. .\" under a commercial license agreement.
  31. .\"
  32. .\" Use of Altair’s trademarks, including but not limited to "PBS™",
  33. .\" "PBS Professional®", and "PBS Pro™" and Altair’s logos is subject to Altair's
  34. .\" trademark licensing policies.
  35. .\"
  36. .TH qorder 1B "18 December 2017" Local "PBS Professional"
  37. .SH NAME
  38. .B qorder
  39. \- exchange order of two PBS batch jobs.
  40. .SH SYNOPSIS
  41. .B qorder
  42. <job ID> <job ID>
  43. .br
  44. .B qorder
  45. --version
  46. .SH DESCRIPTION
  47. Exchanges positions in queue(s) of two jobs, whether in the same or different
  48. queue(s).
  49. No attribute of either job, e.g. priority, is changed.
  50. The impact of interchanging the order within or between queues is dependent on local
  51. job scheduling policy; contact your systems administrator.
  52. .B Restrictions
  53. .br
  54. A job in the
  55. .B running
  56. state cannot be reordered.
  57. .br
  58. The
  59. .B qorder
  60. command can be used on job arrays, but not on subjobs or ranges of subjobs.
  61. .br
  62. The two jobs must be located at the same server.
  63. .B Effect of Privilege on Behavior
  64. .br
  65. For an unprivileged user to reorder jobs, both jobs must be owned by
  66. the user. A privileged user (Manager, Operator) can reorder any jobs.
  67. .SH OPTIONS
  68. .IP "--version" 8
  69. The
  70. .B qorder
  71. command returns its PBS version information and exits.
  72. This option can only be used alone.
  73. .SH OPERANDS
  74. Both operands are
  75. .I job IDs
  76. which specify the jobs to be exchanged.
  77. The
  78. .B qorder
  79. command accepts two
  80. .I job ID
  81. operands of the form:
  82. .RS 4
  83. .I <sequence number>[.<server name>][@<server name>]
  84. .br
  85. .I <sequence number>[][.<server name>][@<server name>]
  86. .RE
  87. If you specify a server for both jobs, they must be at the same server.
  88. Note that some shells require that you enclose a job array identifier in
  89. double quotes.
  90. .SH STANDARD ERROR
  91. The
  92. .B qorder
  93. command writes diagnostic messages to standard error for each
  94. error occurrence.
  95. .SH EXIT STATUS
  96. .IP "Zero" 8
  97. Upon successful processing of all operands
  98. .IP "Greater than zero" 8
  99. If the
  100. .B qorder
  101. command fails to process any operand
  102. .SH SEE ALSO
  103. The
  104. .I PBS Professional User's Guide,
  105. the
  106. .I PBS Professional Administrator's Guide,
  107. .br
  108. qsub(1B), qmove(1B), pbs_orderjob(3B), pbs_movejob(3B)