Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgroups ubuntu 14.04 #1

Open
morris821028 opened this issue Feb 20, 2016 · 0 comments
Open

cgroups ubuntu 14.04 #1

morris821028 opened this issue Feb 20, 2016 · 0 comments

Comments

@morris821028
Copy link
Member

如果發現 cgroups 目錄下只有 systemd 資料夾,需要額外安裝套件,才能有我們想要的 memory limit 功能的目錄。

root@ubuntu:/sys/fs/cgroup# ls
systemd

安裝流程:

http://frank2.net/cgroups-ubuntu-14-04/

$ apt-get install cgroup-bin cgroup-lite libcgroup1
$ service cgroup-lite start

順利運行的話,結果如下:

root@ubuntu:/sys/fs/cgroup# ls
blkio  cpuacct  devices  hugetlb  net_cls   perf_event
cpu    cpuset   freezer  memory   net_prio  systemd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant