← 返回命令列表

Linux command

cgroups 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

tldr cgclassify

Example

tldr cgcreate

Example

tldr cgexec

说明

cgroups (control groups) is a Linux kernel feature for limiting, measuring, and controlling resource usage by processes. It is not a single command but a collection of tools and kernel interfaces. Cgroups can limit CPU, memory, I/O, and network resources. They are fundamental to container technologies like Docker and systemd resource management.

FAQ

What is the cgroups command used for?

cgroups (control groups) is a Linux kernel feature for limiting, measuring, and controlling resource usage by processes. It is not a single command but a collection of tools and kernel interfaces. Cgroups can limit CPU, memory, I/O, and network resources. They are fundamental to container technologies like Docker and systemd resource management.

How do I run a basic cgroups example?

Run `tldr cgclassify` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more cgroups examples?

This page includes 3 examples for cgroups, plus related commands for nearby Linux tasks.