最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

linux - Unable to add cpu controller to the manually created cgroup - Stack Overflow

programmeradmin6浏览0评论

I created a cgroup manually under the cgroups v2 hierarchy on the Linux system. I am running Ubuntu 22.04 with 6.1.25 Linux kernel if that matters.

These are the steps are followed as root:

Step 1: mkdir /sys/fs/cgroup/test_group
Step 2: echo "+cpu" > cgroup.subtree_control

I get the following error after executing step 2:

bash: echo: write error: No such file or directory

I do have all the permissions required to execute.

发布评论

评论列表(0)

  1. 暂无评论