hwloc-gather-cpuid.1 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. .\" -*- nroff -*-
  2. .\" Copyright © 2015-2021 Inria. All rights reserved.
  3. .\" See COPYING in top-level directory.
  4. .TH HWLOC-GATHER-CPUID "1" "Sep 07, 2023" "2.9.3" "hwloc"
  5. .SH NAME
  6. hwloc-gather-cpuid \- Dumps the relevant x86 cpuid values
  7. for later (possibly offline) usage
  8. .
  9. .\" **************************
  10. .\" Synopsis Section
  11. .\" **************************
  12. .SH SYNOPSIS
  13. .
  14. .B hwloc-gather-cpuid [\fIoptions\fR] [\fI<outdir>\fR]
  15. .
  16. .\" **************************
  17. .\" Options Section
  18. .\" **************************
  19. .SH OPTIONS
  20. .
  21. .TP
  22. \fB\-c <idx>
  23. Only gather cpuid values for logical processor whose OS/physical index
  24. is <idx>.
  25. .TP
  26. \fB\-s\fR \fB\-\-silent\fR
  27. Do not show verbose messages.
  28. .TP
  29. \fB\-\-version\fR
  30. Report version and exit.
  31. .TP
  32. \fB\-h\fR \fB\-\-help\fR
  33. Display help message and exit.
  34. .
  35. .\" **************************
  36. .\" Description Section
  37. .\" **************************
  38. .SH DESCRIPTION
  39. .
  40. \fBhwloc-gather-cpuid\fR dumps all the relevant x86 cpuid values into
  41. subdirectory \fIcpuid\fR of current directory,
  42. or in \fB<outdir>\fR if specified.
  43. .
  44. .PP
  45. These files can be used later to explore the machine topology offline,
  46. for instance by setting the environment variable \fIHWLOC_CPUID_PATH\fR
  47. to the directory containing all output files,
  48. and by forcing the x86 backend with \fIHWLOC_COMPONENTS=x86,stop\fR.
  49. .
  50. .PP
  51. The directory contents may also be submitted to hwloc developers
  52. to debug issues remotely.
  53. .
  54. .PP
  55. If \fB-\fR is used as <outdir>, the output is dumped to the standard
  56. output, but a unique logical processor must have been given with \fB-c\fR.
  57. .
  58. .PP
  59. \fBhwloc-gather-cpuid\fR is a x86 specific tool, it cannot be used
  60. on other platforms.
  61. .
  62. .PP
  63. .B NOTE:
  64. \fBhwloc-gather-cpuid\fR gathers many hardware details about the platform.
  65. Output files should not be posted on public lists or websites
  66. unless it is clear that they contain no sensitive information.
  67. .
  68. .PP
  69. .B NOTE:
  70. The output of \fBhwloc-gather-cpuid\fR is included in the tarball
  71. saved by \fBhwloc-gather-topology\fR on Linux/x86.
  72. .
  73. .PP
  74. .B NOTE:
  75. It is highly recommended that you read the hwloc(7) overview page
  76. before reading this man page.
  77. .
  78. .\" **************************
  79. .\" Examples Section
  80. .\" **************************
  81. .SH EXAMPLES
  82. .PP
  83. To store cpuid information of all logical processors of the current machine:
  84. $ hwloc-gather-cpuid
  85. Gathering in directory ./cpuid ...
  86. Gathering CPUID of PU P#0 in path ./hwloc-x86-cpuid/pu0 ...
  87. Gathering CPUID of PU P#1 in path ./hwloc-x86-cpuid/pu1 ...
  88. Gathering CPUID of PU P#2 in path ./hwloc-x86-cpuid/pu2 ...
  89. Gathering CPUID of PU P#3 in path ./hwloc-x86-cpuid/pu3 ...
  90. Summary written to ./cpuid/hwloc-cpuid-info
  91. .
  92. .\" **************************
  93. .\" Return value section
  94. .\" **************************
  95. .SH RETURN VALUE
  96. Upon successful execution, \fBhwloc-gather-cpuid\fR will exit with the code 0.
  97. .
  98. .PP
  99. \fBhwloc-gather-cpuid\fR will return nonzero exit status if any kind of error occurs,
  100. such as (but not limited to) failure to create the output files.
  101. .
  102. .\" **************************
  103. .\" See also section
  104. .\" **************************
  105. .SH SEE ALSO
  106. .
  107. .ft R
  108. hwloc(7), hwloc-gather-topology(1), lstopo(1)
  109. .sp