Skip to content

Commit 26d4227

Browse files
committed
utils/manpages: minor fixes in examples
Signed-off-by: Brice Goglin <[email protected]>
1 parent 7b3262f commit 26d4227

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

utils/hwloc/hwloc-info.1in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ To display information about each package:
219219

220220
To display information about the core whose physical index is 2:
221221

222-
$ utils/hwloc-info -p core:2
222+
$ hwloc-info -p core:2
223223
Core L#1
224224
logical index = 1
225225
os index = 2
226-
...
226+
...
227227
.
228228
.\" **************************
229229
.\" See also section

utils/hwloc/hwloc-ps.1in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.\" -*- nroff -*-
2-
.\" Copyright © 2010-2019 Inria. All rights reserved.
2+
.\" Copyright © 2010-2020 Inria. All rights reserved.
33
.\" Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
44
.\" See COPYING in top-level directory.
55
.TH HWLOC-PS "1" "%HWLOC_DATE%" "%PACKAGE_VERSION%" "%PACKAGE_NAME%"
@@ -123,28 +123,28 @@ processes, if desired.
123123
.PP
124124
If a process is bound, it appears in the default output:
125125

126-
$ utils/hwloc-ps
126+
$ hwloc-ps
127127
4759 Core:0 myprogram
128128

129129
If a process is not bound but 3 of his 4 threads are bound,
130130
it only appears in the thread-aware output (or if explicitly selected):
131131

132-
$ utils/hwloc-ps
132+
$ hwloc-ps
133133

134-
$ utils/hwloc-ps -t
134+
$ hwloc-ps -t
135135
4759 Machine:0 myprogram
136136
4759 Machine:0
137137
4761 PU:0
138138
4762 PU:2
139139
4765 PU:1
140140

141-
$ utils/hwloc-ps --pid 4759
141+
$ hwloc-ps --pid 4759
142142
4759 Machine:0 myprogram
143143

144144
To display the binding of already running MPI processes (launched by
145145
Open MPI) and append their MPI rank (in MPI_COMM_WORLD) to each line:
146146

147-
$ utils/hwloc-ps --pid-cmd myscript
147+
$ hwloc-ps --pid-cmd myscript
148148
29093 L1dCache:0 myprogram OMPI_COMM_WORLD_RANK=0
149149
29094 L1dCache:2 myprogram OMPI_COMM_WORLD_RANK=1
150150
29095 L1dCache:1 myprogram OMPI_COMM_WORLD_RANK=2

0 commit comments

Comments
 (0)