Home
last modified time | relevance | path

Searched refs:cgroups (Results 1 – 19 of 19) sorted by relevance

/external/ltp/testcases/kernel/controllers/
Dtest_controllers.sh40 if [ -f /proc/cgroups ]
42 CPU_CONTROLLER=`grep -w cpu /proc/cgroups | cut -f1`;
43 CPU_CONTROLLER_VALUE=`grep -w cpu /proc/cgroups | cut -f4`;
44 MEM_CONTROLLER=`grep -w memory /proc/cgroups | cut -f1`;
45 MEM_CONTROLLER_VALUE=`grep -w memory /proc/cgroups | cut -f4`;
46 IOTHROTTLE_CONTROLLER=`grep -w blockio /proc/cgroups | cut -f1`;
47 IOTHROTTLE_CONTROLLER_VALUE=`grep -w blockio /proc/cgroups | cut -f4`;
48 FREEZER=`grep -w freezer /proc/cgroups | cut -f1`;
49 FREEZER_VALUE=`grep -w freezer /proc/cgroups | cut -f4`;
50 CPUACCOUNT_CONTROLLER=`grep -w cpuacct /proc/cgroups | cut -f1`
[all …]
Dtestplan.txt14 cgroups/cgroups.txt, cgroups/memory.txt and cgroups/cpusets.txt in kernel
/external/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_test.sh37 elif [ ! -f /proc/cgroups ]; then
175 grep -q -w "cpu" /proc/cgroups
222 lines=`cat /proc/cgroups | wc -l`
253 lines=`cat /proc/cgroups | wc -l`
259 subsys1=`tail -n 1 /proc/cgroups | awk '{ print $1 }'`
260 subsys2=`tail -n 2 /proc/cgroups | head -1 | awk '{ print $1 }'`
308 grep -q -w "ns" /proc/cgroups
387 grep -q -w "cpu" /proc/cgroups
402 lines=`cat /proc/cgroups | wc -l`
409 subsys=`tail -n 1 /proc/cgroups | awk '{ print $1 }'`
DREADME4 Those testcases can reproduce bugs we found in cgroups.
/external/autotest/client/site_tests/platform_ChromeCgroups/
Dcontrol7 PURPOSE = "Verify that the chrome_renderers cgroups are created and used."
8 CRITERIA = "Fails if the required cgroups do not exist or are empty."
17 cgroups exist and that tasks are placed in those cgroups when multiple
/external/ltp/testcases/kernel/controllers/cpuset/
Dcpuset_funcs.sh90 if [ -f /proc/cgroups ]; then
91 CPUSET_CONTROLLER=`grep -w cpuset /proc/cgroups | cut -f1`
92 CPUSET_CONTROLLER_VALUE=`grep -w cpuset /proc/cgroups | cut -f4`
/external/autotest/client/site_tests/kernel_SchedCgroups/
Dcontrol7 PURPOSE = "Verify the functioning of scheduler cgroups."
9 The test will fail if scheduler cgroups do not function correctly.
/external/ltp/testcases/kernel/controllers/cgroup_fj/
Dcgroup_fj_common.sh35 local exist=`grep -w $subsystem /proc/cgroups | cut -f1`
82 if [ ! -f /proc/cgroups ]; then
/external/minijail/
Dlibminijail.c155 int cgroups : 1; member
183 char *cgroups[MAX_CGROUPS]; member
201 j->flags.cgroups = 0; in minijail_preenter()
639 j->cgroups[j->cgroup_count] = strdup(path); in minijail_add_to_cgroup()
640 if (!j->cgroups[j->cgroup_count]) in minijail_add_to_cgroup()
643 j->flags.cgroups = 1; in minijail_add_to_cgroup()
902 marshal_append(state, j->cgroups[i], strlen(j->cgroups[i]) + 1); in minijail_marshal_helper()
1047 j->cgroups[i] = strdup(cgroup); in minijail_unmarshal()
1048 if (!j->cgroups[i]) in minijail_unmarshal()
1066 free(j->cgroups[i]); in minijail_unmarshal()
[all …]
/external/ltp/testcases/kernel/controllers/io-throttle/
Dio_throttle_testplan.txt3 cgroups.
14 Based on the physical I/O bandwidth three cgroups are created: cgroup-1,
DREADME11 for cgroups.
/external/ltp/testcases/kernel/controllers/freezer/
DREADME15 freeze tasks in cgroups before doing a suspend.
34 manually unfreeze cgroups.
Drun_freezer.sh84 if [ ! -f /proc/cgroups ]; then
DTODO71 Write a test using two sample cgroups (A and B). Freeze A. Move tasks
/external/autotest/client/tests/cgroup/
Dcontrol9 This test checks basic functionality of cgroups
/external/ltp/testcases/kernel/controllers/cpuacct/
Dcpuacct.sh51 grep -q -w cpuacct /proc/cgroups
/external/ltp/testcases/kernel/controllers/cgroup_xattr/
DREADME19 meta information to cgroups and everything they model (services, apps, vms)
/external/ltp/testcases/kernel/controllers/pids/
Dpids.sh55 exist=`grep -w pids /proc/cgroups | cut -f1`;
/external/fio/
DHOWTO1602 cgroup_nodelete=bool Normally fio will delete the cgroups it has created after
1604 cgroups around after the job completion, set cgroup_nodelete=1.