Merge lp:~serge-hallyn/serverguide/cgm-update into lp:serverguide/trunk

Proposed by Serge Hallyn on 2014-04-01
Status: Merged
Approved by: Doug Smythies on 2014-04-04
Approved revision: 203
Merged at revision: 204
Proposed branch: lp:~serge-hallyn/serverguide/cgm-update
Merge into: lp:serverguide/trunk
Diff against target: 40 lines (+4/-16)
1 file modified
serverguide/C/cgroups.xml (+4/-16)
To merge this branch: bzr merge lp:~serge-hallyn/serverguide/cgm-update
Reviewer Review Type Date Requested Status
Doug Smythies 2014-04-01 Approve on 2014-04-04
Review via email: mp+213725@code.launchpad.net

Description of the change

Update to reflect that cgm now exists to wrap dbus-send

To post a comment you must log in.
Doug Smythies (dsmythies) wrote :

O.K. Thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'serverguide/C/cgroups.xml'
2--- serverguide/C/cgroups.xml 2014-03-08 22:34:21 +0000
3+++ serverguide/C/cgroups.xml 2014-04-01 21:17:01 +0000
4@@ -186,25 +186,12 @@
5 </para>
6
7 <screen><command>
8-dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock \
9- --type=method_call /org/linuxcontainers/cgmanager \
10- org.linuxcontainers.cgmanager0_0.Create string:'cpuset' string:"build1"
11-dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock \
12- --type=method_call /org/linuxcontainers/cgmanager \
13- org.linuxcontainers.cgmanager0_0.MovePid string:'cpuset' \
14- string:"build1" int32:$$
15-dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock \
16- --type=method_call /org/linuxcontainers/cgmanager \
17- org.linuxcontainers.cgmanager0_0.SetValue string:'cpuset' \
18- string:"build1" string:"cpuset.cpus" string:"1"
19+cmg create cpuset build1
20+cgm movepid cpuset build1 $$
21+cgm setvalue cpuset build1 cpuset.cpus 1
22 make
23 </command></screen>
24
25- <para>
26-The above can also be done much more simply by using lmctfy or
27-cgroup-bin, once they are converted to use the cgmanager.
28- </para>
29-
30 </sect1>
31
32 <sect1 id="cgroups-resources" status="review">
33@@ -214,6 +201,7 @@
34 <listitem>
35 <para>Manual pages referenced above can be found at:</para>
36 <screen>
37+<ulink url="http://manpages.ubuntu.com/manpages/en/man8/cgm.1.html">cgm</ulink>
38 <ulink url="http://manpages.ubuntu.com/manpages/en/man5/cgconfig.conf.5.html">cgconfig.conf</ulink>
39 <ulink url="http://manpages.ubuntu.com/manpages/en/man8/cgmanager.8.html">cgmanager</ulink>
40 <ulink url="http://manpages.ubuntu.com/manpages/en/man8/cgproxy.8.html">cgproxy</ulink>

Subscribers

People subscribed via source and target branches