If /sys/fs/cgroup/ntrollers is present on your system, you are using v2, The file layout of cgroups is significantly different between v1 and v2. ![]() To figure out where your control groups are mounted, you can run: You see a bunch of files in that directory, and possibly some directories In that case, instead of seeing the sub-directories, On older systems, the control groups might be mounted on /cgroup, withoutĭistinct hierarchies. each sub-directory actually corresponds to a different That directory, you see multiple sub-directories, called devices,įreezer, blkio, etc. ![]() In recentĭistros, you should find this filesystem under /sys/fs/cgroup. This is relevant for “pure” LXCĬontainers, as well as for Docker containers.Ĭontrol groups are exposed through a pseudo-filesystem. ![]() Which not only track groups of processes, but also expose metrics aboutĬPU, memory, and block I/O usage. More details about the docker stats command. CONTAINER CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |