| 1 |
<!-- SPDX-License-Identifier: LGPL-2.1+ --> |
| 2 |
|
| 3 |
<!DOCTYPE refentry PUBLIC @docdtd@ [ |
| 4 |
|
| 5 |
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml"> |
| 6 |
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml"> |
| 7 |
]> |
| 8 |
|
| 9 |
<refentry> |
| 10 |
|
| 11 |
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo> |
| 12 |
|
| 13 |
<refmeta> |
| 14 |
<refentrytitle>lxc-cgroup</refentrytitle> |
| 15 |
<manvolnum>1</manvolnum> |
| 16 |
</refmeta> |
| 17 |
|
| 18 |
<refnamediv> |
| 19 |
<refname>lxc-cgroup</refname> |
| 20 |
|
| 21 |
<refpurpose> |
| 22 |
<!-- |
| 23 |
manage the control group associated with a container |
| 24 |
--> |
| 25 |
컨테이너와 관련된 컨트롤 그룹 관리 |
| 26 |
</refpurpose> |
| 27 |
</refnamediv> |
| 28 |
|
| 29 |
<refsynopsisdiv> |
| 30 |
<cmdsynopsis> |
| 31 |
<command>lxc-cgroup</command> |
| 32 |
<arg choice="req">-n <replaceable>name</replaceable></arg> |
| 33 |
<arg choice="req"><replaceable>state-object</replaceable></arg> |
| 34 |
<arg choice="opt">value</arg> |
| 35 |
</cmdsynopsis> |
| 36 |
</refsynopsisdiv> |
| 37 |
|
| 38 |
<refsect1> |
| 39 |
<title><!-- Description -->설명</title> |
| 40 |
|
| 41 |
<para> |
| 42 |
<!-- |
| 43 |
<command>lxc-cgroup</command> gets or sets the value of a |
| 44 |
<replaceable>state-object</replaceable> (e.g., 'cpuset.cpus') |
| 45 |
in the container's cgroup for the corresponding subsystem (e.g., |
| 46 |
'cpuset'). If no <optional>value</optional> is specified, the |
| 47 |
current value of the <replaceable>state-object</replaceable> is |
| 48 |
displayed; otherwise it is set. |
| 49 |
--> |
| 50 |
<command>lxc-cgroup</command>는 지정한 서브시스템(예를 들어 'cpuset')의 컨테이너 cgroup의 <replaceable>state-object</replaceable> (예를들어 'cpuset.cpus')의 값을 얻어오거나 설정한다. |
| 51 |
만약 <optional>value</optional>가 지정되지 않았다면, <replaceable>state-object</replaceable>의 현재 값을 표시한다. 지정한 경우에는 해당 값으로 설정한다. |
| 52 |
</para> |
| 53 |
|
| 54 |
<para> |
| 55 |
<!-- |
| 56 |
Note that <command>lxc-cgroup</command> does not check that the |
| 57 |
<replaceable>state-object</replaceable> is valid for the running |
| 58 |
kernel, or that the corresponding subsystem is contained in any |
| 59 |
mounted cgroup hierarchy. |
| 60 |
--> |
| 61 |
<command>lxc-cgroup</command>는 <replaceable>state-object</replaceable>가 실행중인 커널에서 사용가능한지 검사하지 않는 것을 주의해야 한다. 또한 지정한 서브시스템이 마운트된 cgroup에 포함이 되어 있는지도 검사하지 않는다. |
| 62 |
</para> |
| 63 |
|
| 64 |
</refsect1> |
| 65 |
|
| 66 |
<refsect1> |
| 67 |
<title><!-- Options -->옵션</title> |
| 68 |
<variablelist> |
| 69 |
|
| 70 |
<varlistentry> |
| 71 |
<term> |
| 72 |
<option><replaceable>state-object</replaceable></option> |
| 73 |
</term> |
| 74 |
<listitem> |
| 75 |
<para> |
| 76 |
<!-- |
| 77 |
Specify the state object name. |
| 78 |
--> |
| 79 |
cgroup의 state object 이름을 지정한다. |
| 80 |
</para> |
| 81 |
</listitem> |
| 82 |
</varlistentry> |
| 83 |
|
| 84 |
<varlistentry> |
| 85 |
<term> |
| 86 |
<option><optional>value</optional></option> |
| 87 |
</term> |
| 88 |
<listitem> |
| 89 |
<para> |
| 90 |
<!-- |
| 91 |
Specify the value to assign to the state object. |
| 92 |
--> |
| 93 |
cgroup의 state object에 설정할 값을 지정한다. |
| 94 |
</para> |
| 95 |
</listitem> |
| 96 |
</varlistentry> |
| 97 |
|
| 98 |
</variablelist> |
| 99 |
|
| 100 |
</refsect1> |
| 101 |
|
| 102 |
&commonoptions; |
| 103 |
|
| 104 |
<refsect1> |
| 105 |
<title><!-- Examples -->예제</title> |
| 106 |
<variablelist> |
| 107 |
<varlistentry> |
| 108 |
<term>lxc-cgroup -n foo devices.list</term> |
| 109 |
<listitem> |
| 110 |
<para> |
| 111 |
<!-- |
| 112 |
display the allowed devices to be used. |
| 113 |
--> |
| 114 |
허용된 디바이스를 표시한다. |
| 115 |
</para> |
| 116 |
</listitem> |
| 117 |
</varlistentry> |
| 118 |
|
| 119 |
<varlistentry> |
| 120 |
<term>lxc-cgroup -n foo cpuset.cpus "0,3"</term> |
| 121 |
<listitem> |
| 122 |
<para> |
| 123 |
<!-- |
| 124 |
assign the processors 0 and 3 to the container. |
| 125 |
--> |
| 126 |
프로세서 0과 3을 컨테이너에게 할당한다. |
| 127 |
</para> |
| 128 |
</listitem> |
| 129 |
</varlistentry> |
| 130 |
|
| 131 |
</variablelist> |
| 132 |
</refsect1> |
| 133 |
|
| 134 |
<refsect1> |
| 135 |
<title><!-- Diagnostic -->진단</title> |
| 136 |
|
| 137 |
<variablelist> |
| 138 |
|
| 139 |
<varlistentry> |
| 140 |
<term>The container was not found</term> |
| 141 |
<listitem> |
| 142 |
<para> |
| 143 |
<!-- |
| 144 |
The container is not running. |
| 145 |
--> |
| 146 |
컨테이너가 실행중이 아니다. |
| 147 |
</para> |
| 148 |
</listitem> |
| 149 |
</varlistentry> |
| 150 |
|
| 151 |
|
| 152 |
</variablelist> |
| 153 |
|
| 154 |
</refsect1> |
| 155 |
|
| 156 |
&seealso; |
| 157 |
|
| 158 |
</refentry> |
| 159 |
|
| 160 |
<!-- Keep this comment at the end of the file |
| 161 |
Local variables: |
| 162 |
mode: sgml |
| 163 |
sgml-omittag:t |
| 164 |
sgml-shorttag:t |
| 165 |
sgml-minimize-attributes:nil |
| 166 |
sgml-always-quote-attributes:t |
| 167 |
sgml-indent-step:2 |
| 168 |
sgml-indent-data:t |
| 169 |
sgml-parent-document:nil |
| 170 |
sgml-default-dtd-file:nil |
| 171 |
sgml-exposed-tags:nil |
| 172 |
sgml-local-catalogs:nil |
| 173 |
sgml-local-ecat-files:nil |
| 174 |
End: |
| 175 |
--> |