sub:cgroup

sub:cgroup

Terminology #

  1. cgroups a cgroup is a collection of processes. The processes within each cgroup are bound to limits and parameters that are defined within the cgroup filesystem.
  2. services 用于组织和管理与系统服务相关的进程的 cgroup。
  3. scopes 用于组织和管理用户会话或任务组的 cgroup。
  4. slices a group of hierarchically organized units. A slice manages processes that are running in either scopes or services.

Controlling CPU usage for a user(systemd) Controlling CPU usage for a service(systemd) Controlling memory usage for user(systemd) Controlling blkio usage(systemd) Setting resource limits on rootless containers Setting cpuset(systemd) Converting to cgroup version 2 给firefox进程及子进程添加mark

man systemd.resource-control