如何在多核服务器上限制 Red Hat Enterprise Linux 中的 CPU 数量
Issue
- 在带有多处理器的系统中禁用/启用处理器的步骤是什么?因为这些系统处于生产环境中,相关过程需要非常透明。
- 如何在 Red Hat Enterprise Linux 中限制服务器的 CPU 数量?
- 如何将服务器限制为仅具有 "N" 个数量的 CPU?
Environment
- Red Hat Enterprise Linux (RHEL) 5
- Red Hat Enterprise Linux (RHEL) 6
- Red Hat Enterprise Linux (RHEL) 7
- Red Hat Enterprise Linux (RHEL) 8
- Red Hat Enterprise Linux (RHEL) 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.