pbs_hostn.8B 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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_hostn 8B "18 October 2017" Local "PBS Professional"
  37. .SH NAME
  38. .B pbs_hostn
  39. - report hostname and network address(es)
  40. .SH SYNOPSIS
  41. .B pbs_hostn
  42. [ -v ] <hostname>
  43. .br
  44. .B pbs_hostn
  45. --version
  46. .SH DESCRIPTION
  47. The
  48. .B pbs_hostn
  49. command takes a hostname, and reports the results of both
  50. gethostbyname(3) and gethostbyaddr(3) system calls. Both forward and
  51. reverse lookup of hostname and network addresses need to succeed in order
  52. for PBS to authenticate a host.
  53. .LP
  54. Running this command can assist in
  55. troubleshooting problems related to incorrect or non-standard network
  56. configuration, especially within clusters.
  57. .SH OPTIONS
  58. .IP "-v" 15
  59. Turns on verbose mode.
  60. .LP
  61. .IP "--version" 15
  62. The
  63. .B pbs_hostn
  64. command returns its PBS version information and exits.
  65. This option can only be used alone.
  66. .SH OPERANDS
  67. .IP "hostname" 15
  68. The
  69. .B pbs_hostn
  70. command accepts a
  71. .I hostname
  72. operand either in short name form, or in fully qualified
  73. domain name (FQDN) form.
  74. .SH STANDARD ERROR
  75. The
  76. .B pbs_hostn
  77. command writes a diagnostic message to standard error for
  78. each error occurrence.
  79. .SH EXIT STATUS
  80. .IP "Zero" 15
  81. Upon successful processing of all the operands presented to the
  82. .B pbs_hostn
  83. command
  84. .LP
  85. .IP "Greater than zero" 15
  86. If the
  87. .B pbs_hostn
  88. command fails to process any operand.
  89. .SH SEE ALSO
  90. The
  91. .B PBS Professional Administrator's Guide
  92. and the following manual page:
  93. pbs_server(8B)