AddProc adds the process with the given id to the cgroup (cgroup.procs). Without additional arguments, the process with the given id is added to all the cgroup subsystems. When giving AddProc a list of subsystem names, the process id is only added to those subsystems, provided that they are active i
(uint64, ...Name)
| 65 | // id is only added to those subsystems, provided that they are active in the targeted |
| 66 | // cgroup. |
| 67 | AddProc(uint64, ...Name) error |
| 68 | // AddTask adds a process to the cgroup (tasks). Without additional arguments, the |
| 69 | // task is added to all the cgroup subsystems. When giving AddTask a list of subsystem |
| 70 | // names, the task is only added to those subsystems, provided that they are active in |