qstop.8B 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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 qstop 8B "4 January 2018" Local "PBS Professional"
  37. .SH NAME
  38. .B qstop
  39. \- prevent PBS jobs in the specified queue from being scheduled or routed
  40. .SH SYNOPSIS
  41. .B qstop
  42. <destination> [<destination> ...]
  43. .br
  44. .B qstop
  45. --version
  46. .SH DESCRIPTION
  47. If
  48. .I destination
  49. is an execution queue, the
  50. .B qstop
  51. command stops the
  52. scheduler from scheduling jobs residing in
  53. .I destination.
  54. If
  55. .I destination
  56. is a routing queue, the server stops routing jobs from
  57. that queue. Sets the value of the queue's
  58. .I started
  59. attribute to
  60. .I False.
  61. .B Required Privilege
  62. .br
  63. You must have PBS Operator or Manager privilege to run this command.
  64. .SH OPTIONS
  65. .IP "--version" 8
  66. The
  67. .B qstop
  68. command returns its PBS version information and exits.
  69. This option can only be used alone
  70. .SH OPERANDS
  71. The
  72. .B qstop
  73. command accepts one or more space-separated
  74. .I destination
  75. operands. The operands take one of three forms:
  76. .br
  77. .I <queue name>
  78. .RS 3
  79. Stops scheduling or routing from the specified queue.
  80. .RE
  81. .I @<server name>
  82. .RS 3
  83. Stops scheduling or routing from all queues at the specified server.
  84. .RE
  85. .I <queue name>@<server name>
  86. .RS 3
  87. Stops scheduling or routing from the specified queue at the specified server.
  88. .RE
  89. To stop scheduling at all queues at the default server, use the
  90. .B qmgr
  91. command:
  92. .RS 3
  93. .B Qmgr: set queue @default started=false
  94. .RE
  95. .SH STANDARD ERROR
  96. The
  97. .B qstop
  98. command writes a diagnostic message to standard error for each error occurrence.
  99. .SH EXIT STATUS
  100. .IP Zero 8
  101. Upon successful processing of all operands
  102. .IP "Greater than zero" 8
  103. If the
  104. .B qstop
  105. command fails to process any operand
  106. .SH SEE ALSO
  107. The
  108. .I PBS Professional Administrator's Guide
  109. and the following manual pages:
  110. pbs_server(8B), qstart(8B), and qmgr(8B)