How does one programatically assign a process or threads to specific control groups (cgroups)?
Issue
- How does one programatically assign a process or threads to specific control groups (cgroups)?
- An application spawns multiple threads that need to be resource limited using cgroups, how does one acheive this?
Environment
- Use the libcgroups api to programatically assign the threads to specific groups. See this link for the api : http://libcg.sourceforge.net/html/index.html (externa)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.