MCPcopy Create free account
hub / github.com/apache/mesos / processes

Function processes

src/linux/cgroups.cpp:931–934  ·  view source on GitHub ↗

NOTE: It is possible for a process pid to be in more than one cgroup if it has separate threads (tasks) in different cgroups.

Source from the content-addressed store, hash-verified

929// NOTE: It is possible for a process pid to be in more than one cgroup if it
930// has separate threads (tasks) in different cgroups.
931Try<set<pid_t>> processes(const string& hierarchy, const string& cgroup)
932{
933 return internal::tasks(hierarchy, cgroup, "cgroup.procs");
934}
935
936
937Try<set<pid_t>> threads(const string& hierarchy, const string& cgroup)

Callers 8

killFunction · 0.70
killMethod · 0.70
finishedMethod · 0.70
TEST_FFunction · 0.50
TEST_FFunction · 0.50
foreachFunction · 0.50
usageMethod · 0.50
foreachFunction · 0.50

Calls 1

tasksFunction · 0.85

Tested by 2

TEST_FFunction · 0.40
TEST_FFunction · 0.40