Answer the question
In order to leave comments, you need to log in
What is special about ALT-Linux when working with cgroup?
Making an example on Ubuntu 16.04:
# mkdir /sys/fs/cgroup/cpuset/group0
# ls /sys/fs/cgroup/cpuset/group0
# echo $$ > /sys/fs/cgroup/cpuset/group0/tasks
# mkdir /sys/fs/cgroup/cpuset/group0
# ls /sys/fs/cgroup/cpuset/group0 # управляющие файлы также появились
# echo $$ > /sys/fs/cgroup/cpuset/group0/tasks
-bash: echo: ошибка записи: На устройстве не осталось свободного места
df -h
Файловая система Размер Использовано Дост Использовано% Cмонтировано в
udevfs 5,0M 0 5,0M 0% /dev
runfs 1003M 468K 1002M 1% /run
/dev/vda2 7,0G 1008M 5,6G 16% /
tmpfs 1003M 0 1003M 0% /dev/shm
<b>tmpfs 1003M 0 1003M 0% /sys/fs/cgroup</b>
tmpfs 1003M 0 1003M 0% /tmp
/dev/vda5 15G 399M 14G 3% /var
tmpfs 201M 0 201M 0% /run/user/500
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question