qdisable.8B 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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 qdisable 8B "30 November 2017" Local "PBS Professional"
  37. .SH NAME
  38. .B qdisable
  39. - prevent a queue from accepting jobs
  40. .SH SYNOPSIS
  41. .B qdisable
  42. <destination> [<destination> ...]
  43. .br
  44. .B qdisable
  45. --version
  46. .SH DESCRIPTION
  47. The
  48. .B qdisable
  49. command prevents a queue from accepting batch jobs. Sets the value of
  50. the queue's
  51. .I enabled
  52. attribute to
  53. .I False.
  54. If the command is accepted, the queue no longer accepts
  55. .I "Queue Job"
  56. requests. Jobs already in the queue continue to be processed. You
  57. can use this to drain a queue of jobs.
  58. .B Required Permission
  59. .br
  60. In order to execute
  61. .B qdisable,
  62. the user must have PBS Operator or Manager privilege.
  63. .SH OPTIONS
  64. .IP "--version" 8
  65. The
  66. .B qdisable
  67. command returns its PBS version information and exits.
  68. This option can only be used alone.
  69. .SH OPERANDS
  70. The qdisable command accepts one or more space-separated
  71. .I destination
  72. operands. The operands take any of the following forms:
  73. .I <queue name>
  74. .IP " " 8
  75. Prevents specified queue at default server from accepting jobs.
  76. .LP
  77. .I @<server name>
  78. .IP " " 8
  79. Prevents all queues at specified server from accepting jobs.
  80. .LP
  81. .I <queue name>@<server name>
  82. .IP " " 8
  83. Prevents specified queue at specified server from accepting jobs.
  84. .LP
  85. To prevent all queues at the default server from accepting jobs,
  86. use the
  87. .B qmgr
  88. command:
  89. .br
  90. .B \ \ \ Qmgr: set queue @default enabled=false
  91. .SH STANDARD ERROR
  92. The
  93. .B qdisable
  94. command writes a diagnostic message to standard error for
  95. each error occurrence.
  96. .SH EXIT STATUS
  97. .IP Zero 8
  98. Upon successful processing of all the operands
  99. .IP "Greater than zero" 8
  100. If the
  101. .B qdisable
  102. command fails to process any operand
  103. .SH SEE ALSO
  104. The
  105. .I PBS Professional Administrator's Guide
  106. and the following manual pages:
  107. pbs_server(8B), qmgr(8B), and qenable(8B)