Show Table of Contents
2.10.5. 顯示控制群組的參數
若要顯示特定控制群組的參數,請執行:
~]$ cgget -r parameter list_of_cgroups
parameter 代表一個包含了子系統的值的偽檔案,並且list_of_cgroups則代表以空格區隔開的控制群組之清單。例如:
~]$ cgget -r cpuset.cpus -r memory.limit_in_bytes lab1 lab2
顯示了控制群組
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.