A
A
Alexander Semenenko2018-02-09 10:57:43
linux
Alexander Semenenko, 2018-02-09 10:57:43

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

Everything is working.
I do on ALT-Linux:
# mkdir /sys/fs/cgroup/cpuset/group0
# ls /sys/fs/cgroup/cpuset/group0 # управляющие файлы также появились
# echo $$ > /sys/fs/cgroup/cpuset/group0/tasks
-bash: echo: ошибка записи: На устройстве не осталось свободного места

Checking the place:
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

The mount options on both alt and ubuntu are the same:
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

1 answer(s)
A
alfss, 2018-02-09
@semenenko88

df -i?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question