๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Linux Advanced

What is Cgroup?

A Linux kernel feature that limits, accounts for, and isolates resource usage of process groups.

Control groups (cgroups) are a fundamental building block of containers. They limit and monitor CPU, memory, disk I/O, and network bandwidth for groups of processes. Docker and Kubernetes use cgroups extensively.

Cgroups v2 (unified hierarchy) is the modern implementation. Key controllers include cpu, memory, io, and pids. Systemd integrates with cgroups for service resource management via resource control directives in unit files.

Related Terms

File Permissions
A security mechanism that controls who can read, write, or execute files and directories in Unix-like systems.
Crontab Syntax
The time specification format used in cron job scheduling, with five fields defining minute, hour, day of month, month, and day of week.
Firewalld
A dynamic firewall management tool for Linux that provides a D-Bus interface for managing firewall rules with zones.
Symbolic Link
A special file that acts as a shortcut pointing to another file or directory in the filesystem.
Journalctl
A command-line tool for querying and viewing logs collected by systemd's journal logging system.
Journald
The systemd journal daemon that collects and stores log data from services, the kernel, and boot messages in a structured binary format.
View All Linux Terms โ†’