pbs_tclsh.8B 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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 pbs_tclsh 8B "22 November 2017" Local "PBS Professional"
  37. .SH NAME
  38. .B pbs_tclsh
  39. - TCL shell with TCL-wrapped PBS API
  40. .SH SYNOPSIS
  41. .B pbs_tclsh
  42. .B pbs_tclsh
  43. --version
  44. .SH DESCRIPTION
  45. The
  46. .B pbs_tclsh
  47. command starts a version of the TCL shell which includes wrapped versions of
  48. the PBS external API. The PBS TCL API is documented in the pbs_tclapi(3B) manual page.
  49. The
  50. .B pbs_tclsh
  51. command is used to query MoM. For example:
  52. .RS
  53. .nf
  54. \> pbs_tclsh
  55. tclsh> openrm <hostname>
  56. <file descriptor>
  57. tclsh> addreq <file descriptor> "loadave"
  58. tclsh> getreq <file descriptor>
  59. <load average>
  60. tclsh> closereq <file descriptor>
  61. .fi
  62. .RE
  63. .B Required Privilege
  64. .br
  65. Root privilege is required in order to query MoM for dynamic
  66. resources. Root privilege is not required in order to query
  67. MoM for built-in resources and site-defined static resources.
  68. .SH OPTIONS
  69. .IP "--version" 8
  70. The
  71. .B pbs_tclsh
  72. command returns its PBS version information and exits.
  73. This option can only be used alone.
  74. .SH STANDARD ERROR
  75. The
  76. .B pbs_tclsh
  77. command writes a diagnostic message to standard error for
  78. each error occurrence.
  79. .SH SEE ALSO
  80. The
  81. .I PBS Professional Administrator's Guide,
  82. the
  83. .I PBS Professional Programmer's Guide,
  84. and the following manual pages:
  85. pbs_wish(8B), pbs_server(8B), pbs_mom(8B), pbs_sched(8B)