qenable.8B 3.1 KB

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