[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3

mkrset Command

Purpose

Makes an rset containing the specified CPUs and memory regions and places it in the system registry.

Syntax

mkrset -c CPUlist [ -m MEMlist ] rsetname

Description

The mkrset command creates and places into the system registry an rset with the specified set of CPUs and/or memory regions. The rset name must not exist in the registry. The owner and group IDs of the rset will be set to the owner and group IDs of the command issuer. The rset will have read/write owner permissions and read permission for group and other.

Flags

-c List of CPUs to be in the rset. This can be one or more CPUs or CPU ranges.
-m List of memory regions to be in the rset. This can be one or more memory regions or ranges.

Parameters

rsetname The name of the rset to be placed in the system registry. The name consists of a namespace and an rsname separated by a "/" (slash). Both the namespace and rsname may contain up to 255 characters. See the rs_registername() service for additional information about character set limits of rset names.

Security

The user must have root authority or CAP_NUMA_ATTACH capability.

Examples

  1. To make an rset containing CPUs 0-7 named test/cpus0to7, type:
    mkrset -c 0-7 test/cpus0to7
  2. To make an rset containing CPUs 1, 3, 5, 6, 7, 10 named test/lotsofcpus, type:
    mkrset -c 1 3 5-7 10 test/lotsofcpus

Files

/usr/bin/mkrset Contains the mkrset command.

Related Information

The attachrset, detachrset, execrset, lsrset, and rmrset commands.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]