pbs_diag.8B 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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_diag 8B "9 October 2012" Local "PBS Professional"
  37. .SH NAME
  38. .B pbs_diag
  39. \- diagnostic tool for PBS Professional
  40. .SH SYNOPSIS
  41. .B pbs_diag
  42. [-c]
  43. [-d daterange]
  44. [-f]
  45. [-g corefile]
  46. [-j jobidlist]
  47. [-n x]
  48. [-o outdir]
  49. [-r remote_command]
  50. [-u username]
  51. .SH DESCRIPTION
  52. The
  53. .B pbs_diag
  54. command is an interactive tool for collecting information used to
  55. diagnose problems encountered when running PBS Professional.
  56. You can also use
  57. .B pbs_diag
  58. to generate a current snapshot of the configuration
  59. of the server and scheduler in a PBS complex. This tool does not
  60. collect MoM configuration information.
  61. This command extracts the following information:
  62. .RS 5
  63. qmgr settings for server, queues, and vnodes
  64. .br
  65. pbs_probe information about file permissions
  66. .br
  67. pbs.conf master configuration information
  68. .br
  69. pbsnodes vnode configuration/state information
  70. .br
  71. qstat information about current state of the queues and server
  72. .br
  73. Information about existing reservations
  74. .br
  75. pbs_hostn name resolution information
  76. .br
  77. Operating system version information
  78. .br
  79. Server, scheduler, and MoM configuration files
  80. .br
  81. tracejob and logging information for jobs specified by the user
  82. .br
  83. Server, scheduler, and MoM logs for dates specified by the user
  84. .br
  85. Cpuset configuration information and current state if on a cpuset-aware system
  86. .br
  87. Vnode definition files
  88. .RE
  89. .SH OPTIONS
  90. .IP "-c" 10
  91. Use this option to gather only cpuset information. This is important
  92. it is necessary to get information about a cpuset-aware system that is
  93. not running as the PBS server/scheduler.
  94. .IP "-d daterange" 10
  95. Specifies a date range or a single integer representing the number of
  96. days in the past to retrieve server and scheduler logs. Date ranges
  97. must be of the form MM/DD/YYYY-MM/DD/YYYY
  98. .IP "-f" 10
  99. Use this option for non-interactive mode. The greeting will be
  100. supressed, as will the command execution confirmation and prompts for
  101. additional parameters. If no other options are specified, only
  102. basic configuration information is collected.
  103. Must use
  104. .I -u
  105. option with this option.
  106. .IP "-g core_file"
  107. Path to core file.
  108. Obtains a stack trace from the specified core file produced by one of
  109. the three PBS daemons. Works only on Linux systems where gdb (the GNU
  110. debugger) is installed.
  111. If the -g option is specified, no other data collection will take
  112. place.
  113. .IP "-j jobidlist" 10
  114. Collects information about specified job IDs. Use this option on the
  115. command line, to avoid being prompted during the running of the
  116. script. Format: comma-separated list of job IDs.
  117. .IP "-o outdir" 10
  118. This overrides $HOME as the default location for
  119. the output .tar.gz file.
  120. .LP
  121. .IP "-n x"
  122. .IP "-r remote_command"
  123. .IP "-u username" 10
  124. These options are used only during the pbs_dtj portion of the script
  125. and map directly to the options in that script. See the pbs_dtj
  126. header for details.
  127. The -u option must be specified for non-interactive use, i.e. when the
  128. .I -f
  129. option is used..