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}} | ||
− | == | + | ==Pacakges== |
− | cgroups functionality that was released in [[Linux Kernel]] version | + | cgroups functionality that was released in [[Linux Kernel]] version 2.6.24 |
Packages: | Packages: | ||
Line 15: | Line 15: | ||
[[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 37: | Line 36: | ||
== Related terms == | == Related terms == | ||
* <code>[[ulimit]]</code> | * <code>[[ulimit]]</code> | ||
− | |||
− | |||
− | |||
== Activities == | == Activities == | ||
Line 48: | Line 44: | ||
* <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: