Show Table of Contents
2.11.5. コントロールグループのパラメーターの表示
特定の cgroup のパラメーターを表示するには、以下のコマンドを実行します。
~]$ cgget -r parameter list_of_cgroups
ここで parameter は、サブシステムの値を含んだ擬似ファイルで、list_of_cgroups は cgroup のスペース区切りの一覧です。以下はその例です。
~]$ cgget -r cpuset.cpus -r memory.limit_in_bytes lab1 lab2
cgroup
lab1 および lab2 の cpuset.cpus 値と memory.limit_in_bytes 値を表示します。
パラメーター自体の名前がわからない場合には、以下のようなコマンドを使用してください。
~]$ cgget -g cpuset /
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.