Editing Cgroups
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
− | + | cgroups functionality that was released in [[Linux Kernel]] version 2.6.24 | |
− | |||
− | cgroups functionality that was released in [[Linux Kernel]] version | ||
Packages: | Packages: | ||
Line 15: | Line 13: | ||
[[systemd-cgtop]] | [[systemd-cgtop]] | ||
− | + | [[cgcreate]] -g memory:myGroup | |
− | |||
− | |||
+ | [[cgexec]] -g memory:myGroup YOUR_PROGRAM_TO_EXEC | ||
− | * You can use | + | * You can use cgget to view the current limits, usage, & high watermarks of the cgroup |
sudo [[cgget]] -g memory:/myGroup|grep bytes | sudo [[cgget]] -g memory:/myGroup|grep bytes | ||
memory.kmem.tcp.usage_in_bytes: 0 | memory.kmem.tcp.usage_in_bytes: 0 | ||
Line 36: | Line 33: | ||
== Related terms == | == Related terms == | ||
− | * | + | * [[ulimit]] |
− | |||
− | |||
− | |||
== Activities == | == Activities == | ||
* Read https://wiki.archlinux.org/index.php/cgroups | * Read https://wiki.archlinux.org/index.php/cgroups | ||
− | + | ||
+ | |||
+ | |||
+ | |||
== See also == | == See also == | ||
* <code>[[systemd-cgtop]]</code><ref>https://www.freedesktop.org/software/systemd/man/systemd-cgtop.html</ref>, <code>[[docker stats]]</code> | * <code>[[systemd-cgtop]]</code><ref>https://www.freedesktop.org/software/systemd/man/systemd-cgtop.html</ref>, <code>[[docker stats]]</code> | ||
* <code>[[netdata]]</code> cgroups plugin | * <code>[[netdata]]</code> cgroups plugin | ||
+ | * {{cgroups}} | ||
* {{containers}} | * {{containers}} | ||
− | * {{ | + | * {{io performance commands}} |
+ | * {{Linux Kernel}} | ||
+ | |||
+ | |||
[[Category:Linux]] | [[Category:Linux]] |
Advertising: