Skip to content

Commit

Permalink
Fix the example usage in the numactl manual
Browse files Browse the repository at this point in the history
The execution result of `numactl --interleave=all --shm /tmp/shmkey` in
manuals should be changed since we have an order among options
regarding shared memory.

Signed-off-by: Hyeongtak Ji <hyeongtak.ji@sk.com>
  • Loading branch information
hyeongtakji authored and andikleen committed Jan 6, 2024
1 parent fc99928 commit 3a85c29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numactl.8
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ Set preferred node 1 and show the resulting state.
numactl \-\-preferred-many=0x3 numactl \-\-show
Set preferred nodes 1 and 2, and show the resulting state.

numactl --interleave=all --shm /tmp/shmkey
Interleave all of the sysv shared memory region specified by
numactl --length 1g --shm /tmp/shmkey --interleave=all
Interleave all of the sysv shared memory region of size 1g specified by
/tmp/shmkey over all nodes.

Place a tmpfs file on 2 nodes:
Expand Down

0 comments on commit 3a85c29

Please sign in to comment.