1HWLOC-INFO(1)                        hwloc                       HWLOC-INFO(1)
2
3
4

NAME

6       hwloc-info - Show some information about some objects or about a topol‐
7       ogy or about support features
8

SYNOPSIS

10       hwloc-info [ options ]...  <object>...
11
12       hwloc-info [ options ]...
13
14       Note that hwloc(7) provides a detailed explanation of the hwloc  system
15       and  of  valid  <object> formats; it should be read before reading this
16       man page.
17

OPTIONS

19       --objects
20              Report information specific objects.  This  is  the  default  if
21              some objects are given on the command-line.
22
23       --topology
24              Report  a summary of the topology instead of about some specific
25              objects.  This is the default if no object is given on the  com‐
26              mand-line.
27
28       --support
29              Report the features that are supported by hwloc on the topology.
30              The  features  are  those  available  through  the  hwloc_topol‐
31              ogy_get_support()  function.  This is useful for verifying which
32              CPU or memory binding options are supported by the current hwloc
33              installation.
34
35       -i <file>, --input <file>
36              Read  topology  from XML file <file> (instead of discovering the
37              topology on the local machine).  If <file> is "-", the  standard
38              input  is used.  XML support must have been compiled in to hwloc
39              for this option to be usable.
40
41       -i <directory>, --input <directory>
42              Read topology from <directory> instead of discovering the topol‐
43              ogy  of  the local machine.  On Linux, the directory may contain
44              the topology files gathered from another machine  topology  with
45              hwloc-gather-topology.   On  x86,  the  directory  may contain a
46              cpuid dump gathered with hwloc-gather-cpuid.
47
48       -i <specification>, --input <specification>
49              Simulate a fake hierarchy (instead of discovering  the  topology
50              on  the local machine). If <specification> is "node:2 pu:3", the
51              topology will contain two NUMA nodes with 3 processing units  in
52              each of them.  The <specification> string must end with a number
53              of PUs.
54
55       --if <format>, --input-format <format>
56              Enforce the input in the given format, among xml, fsroot,  cpuid
57              and synthetic.
58
59       -v --verbose
60              Include additional detail.
61
62       -s --silent
63              Reduce the amount of details to show.  A single summary line per
64              object is displayed.
65
66       --ancestors
67              Display information about the object as well as  about  all  its
68              ancestors up to the root of the topology.
69
70       --ancestor <type>
71              Only display the object ancestors that match the given type.
72
73       --children
74              Display information about the object children.
75
76       --descendants <type>
77              Display  information about the object descendants that match the
78              given type.
79
80       -n     When outputting object information, prefix each  line  with  the
81              index  of the considered object within the input.  For instance,
82              if three cores were given in input, the  output  lines  will  be
83              prefixed  with  "0:  ",  "1:  " or "2: ".  If --ancestor is also
84              used, the prefix will be "X.Y: " where X is  the  index  of  the
85              considered object within the input, and Y is the parent index (0
86              for the object itself, increasing towards the root of the topol‐
87              ogy).
88
89       --whole-system
90              Do not consider administration limitations.
91
92       --restrict <cpuset>
93              Restrict the topology to the given cpuset.
94
95       --restrict binding
96              Restrict  the  topology  to  the  current process binding.  This
97              option requires the use of the actual current  machine  topology
98              (or  any other topology with --thissystem or with HWLOC_THISSYS‐
99              TEM set to 1 in the environment).
100
101       --filter <type>:<kind>, --filter <type>
102              Filter objects of type <type>, or  of  any  type  if  <type>  is
103              "all".  "io", "cache" and "icache" are also supported.
104
105              <kind> specifies the filtering behavior.  If "none" or not spec‐
106              ified, all objects of the given type are removed.  If "all", all
107              objects  are  kept  as  usual.  If "structure", objects are kept
108              when they bring structure to the topology.  If "important" (only
109              applicable  to  I/O  and Misc), only important objects are kept.
110              See hwloc_topology_set_type_filter() for more details.
111
112       --no-icaches
113              Do not show Instruction caches, only Data and Unified caches are
114              considered.  This is identical to --filter icache:none.
115
116       --no-io
117              Do  not  show  any  I/O  device or bridge.  This is identical to
118              --filter io:none.  By default, common devices (GPUs, NICs, block
119              devices, ...) and interesting bridges are shown.
120
121       --no-bridges
122              Do  not show any I/O bridge except hostbridges.  This is identi‐
123              cal to --filter bridge:none.  By default, common devices  (GPUs,
124              NICs, block devices, ...) and interesting bridges are shown.
125
126       --whole-io
127              Show all I/O devices and bridges.  This is identical to --filter
128              io:all.  By default, only  common  devices  (GPUs,  NICs,  block
129              devices, ...) and interesting bridges are shown.
130
131       --thissystem
132              Assume  that  the selected backend provides the topology for the
133              system on which we are  running.   This  is  useful  when  using
134              --restrict  binding and loading a custom topology such as an XML
135              file.
136
137       --pid <pid>
138              Detect topology as seen by process <pid>,  i.e.  as  if  process
139              <pid> did the discovery itself.  Note that this can for instance
140              change the set of allowed processors.  Also  show  this  process
141              current  CPU  binding by marking the corresponding PUs (in Green
142              in the graphical output, see the COLORS  section  below,  or  by
143              appending  (binding) to the verbose text output).  If 0 is given
144              as pid, the current binding  for  the  lstopo  process  will  be
145              shown.
146
147       -p --physical
148              Use OS/physical indexes instead of logical indexes for input.
149
150       -l --logical
151              Use  logical  indexes  instead  of physical/OS indexes for input
152              (default).
153
154       --version
155              Report version and exit.
156

DESCRIPTION

158       hwloc-info displays information about  the  specified  object.   It  is
159       intended  to  be  used  with  tools  such as grep for filtering certain
160       attribute lines.  When no object is specified, or  when  --topology  is
161       passed, hwloc-info prints a summary of the topology.  When --support is
162       passed, hwloc-info lists the supported features for the topology.
163
164       Objects may be specified as location tuples, as explained in  hwloc(7).
165       However hexadecimal bitmasks are not accepted since they may correspond
166       to multiple objects.
167
168       NOTE: It is highly recommended that you read the hwloc(7) overview page
169       before  reading  this  man  page.   Most  of  the concepts described in
170       hwloc(7) directly apply to the hwloc-calc utility.
171

EXAMPLES

173       To display information about each package:
174
175           $ hwloc-info package:all
176           Package L#0
177            logical index = 0
178           ...
179
180       To display information about the core whose physical index is 2:
181
182           $ utils/hwloc-info -p core:2
183           Core L#1
184            logical index = 1
185            os index = 2
186          ...
187

SEE ALSO

189       hwloc(7), lstopo(1), hwloc-calc(1), hwloc-bind(1), hwloc-ps(1)
190
191
192
193
1942.0.4                            Jun 03, 2019                    HWLOC-INFO(1)
Impressum