Skip to content

Instantly share code, notes, and snippets.

View Toufa7's full-sized avatar
๐ŸŽ

Omar Toufah Toufa7

๐ŸŽ
View GitHub Profile
@Toufa7
Toufa7 / cgconfig.conf
Created July 24, 2023 14:55
Control Groups
mount {
cpu = /sys/fs/cgroup/cpu;
memory = /sys/fs/cgroup/memory;
}
group foo {
cpu {
cpu.cfs_quota_us = 100000;
cpu.cfs_period_us = 1000000;
}