Use the transfer subcommand argument to the –c option of poolcfg with the –d option to transfer resources in the kernel. The –d option specifies that the command operate directly on the kernel and not take input from a file.
The following procedure moves two CPUs from processor set pset1 to processor set pset2 in the kernel.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
The from and to subclauses can be used in any order. Only one to and from subclause is supported per command.
$ poolcfg -dc 'transfer 2 from pset pset1 to pset2'
If specific known IDs of a resource type are to be transferred, an alternative syntax is provided. For example, the following command assigns two CPUs with IDs 0 and 2 to the pset_large processor set:
$ poolcfg -dc 'transfer to pset pset_large (cpu 0; cpu 2)'
If a transfer fails because there are not enough resources to match the request or because the specified IDs cannot be located, the system displays an error message.