Home
last modified time | relevance | path

Searched refs:cgroups (Results 1 - 6 of 6) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/memcg/stress/
H A Dmemcg_stress_test.sh56 # $1 Number of cgroups
62 local cgroups="$1"
68 tst_res TINFO "Testing $cgroups cgroups, using $mem_size MB, interval $interval"
70 tst_res TINFO "Starting cgroups"
71 for i in $(seq 0 $(($cgroups-1))); do
82 tst_res TINFO "Testing cgroups for ${timeout}s"
/third_party/ltp/testcases/kernel/controllers/cgroup/
H A Dcgroup_regression_test.sh19 if [ ! -f /proc/cgroups ]; then
162 if ! grep -q -w "cpu" /proc/cgroups; then
201 lines=`cat /proc/cgroups | wc -l`
329 grep -q -w "cpu" /proc/cgroups
345 local lines=`cat /proc/cgroups | wc -l`
355 subsys=`tail -n 1 /proc/cgroups | awk '{ print $1 }'`
/third_party/ltp/testcases/kernel/controllers/cpuset/
H A Dcpuset_funcs.sh117 if [ -f /proc/cgroups ]; then
118 CPUSET_CONTROLLER=`grep -w cpuset /proc/cgroups | cut -f1`
119 CPUSET_CONTROLLER_VALUE=`grep -w cpuset /proc/cgroups | cut -f4`
/third_party/ltp/testcases/kernel/controllers/
H A Dcgroup_lib.sh116 [ ! -f /proc/cgroups ] && tst_brk TCONF "Kernel does not support control groups"
/third_party/ltp/testcases/kernel/controllers/freezer/
H A Drun_freezer.sh79 tst_resm TINFO "Kernel does not support cgroups. Skipping."
84 if [ ! -f /proc/cgroups ]; then
89 if [ "$(grep -w freezer /proc/cgroups | cut -f1)" != "freezer" ]; then
/third_party/ltp/testcases/kernel/controllers/cpuacct/
H A Dcpuacct.sh87 if ! grep -q -w cpuacct /proc/cgroups; then

Completed in 3 milliseconds