ubuntu下配置cgroup出现如下错误
在配置cgroup过程中
lege@ubuntu-lege:/sys/fs/cgroup/memory/test$ sudo echo 10M > memory.usage_in_bytes
-bash: memory.usage_in_bytes: 权限不够
然后我切换成root用户
lege@ubuntu-lege:/sys/fs/cgroup/memory/test$ sudo su root
root@ubuntu-lege:/sys/fs/cgroup/memory/test# echo 10M > memory.usage_in_bytes
bash: echo: 写错误: 无效的参数
root@ubuntu-lege:/sys/fs/cgroup/memory/test# echo "10M" > memory.usage_in_bytes
bash: echo: 写错误: 无效的参数
出现如上错误 这是什么情况啊!!求高手帮帮小弟
heeken
11 years, 8 months ago