Terminology #
- 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.
- services 用于组织和管理与系统服务相关的进程的 cgroup。
- scopes 用于组织和管理用户会话或任务组的 cgroup。
- 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
Links #
man systemd.resource-control