如何使用 chcpu 配置 CPU 列表?

How to configure a list of CPUs using chcpu?

有命令 chcpu。我知道如何使用一个 CPU 号码。如何将其与列表或一组 CPU 个数字一起使用?

chcpu -e cpu-list

这个cpu列表怎么写?

来自man chcpu

Some options have a cpu-list argument. Use this argument to specify a comma-separated list of CPUs. The list can contain indi‐ vidual CPU addresses or ranges of addresses. For example, 0,5,7,9-11 makes the command applicable to the CPUs with the addresses 0, 5, 7, 9, 10, and 11.