Searched refs:cgroups (Results 1 – 16 of 16) sorted by relevance
40 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 …]
14 cgroups/cgroups.txt, cgroups/memory.txt and cgroups/cpusets.txt in kernel
35 val=$(grep -w $subsystem /proc/cgroups | awk '{ print $4 }')
25 if [ ! -f /proc/cgroups ]; then168 if ! grep -q -w "cpu" /proc/cgroups; then216 lines=`cat /proc/cgroups | wc -l`274 if ! grep -q -w "ns" /proc/cgroups; then360 grep -q -w "cpu" /proc/cgroups376 local lines=`cat /proc/cgroups | wc -l`386 subsys=`tail -n 1 /proc/cgroups | awk '{ print $1 }'`
4 Those testcases can reproduce bugs we found in cgroups.
66 local cgroups="$1"72 tst_res TINFO "Testing $cgroups cgroups, using $mem_size MB, interval $interval"77 for i in $(seq 0 $(($cgroups-1))); do
124 if [ -f /proc/cgroups ]; then125 CPUSET_CONTROLLER=`grep -w cpuset /proc/cgroups | cut -f1`126 CPUSET_CONTROLLER_VALUE=`grep -w cpuset /proc/cgroups | cut -f4`
35 local exist=`grep -w $subsystem /proc/cgroups | cut -f1`88 if [ ! -f /proc/cgroups ]; then
15 freeze tasks in cgroups before doing a suspend.34 manually unfreeze cgroups.
84 if [ ! -f /proc/cgroups ]; then
71 Write a test using two sample cgroups (A and B). Freeze A. Move tasks
19 meta information to cgroups and everything they model (services, apps, vms)
89 if ! grep -q -w cpuacct /proc/cgroups; then
66 exist=`grep -w pids /proc/cgroups | cut -f1`;
559 on cgroups if it is present, and on z/OS based on RLIMIT_MEMLIMIT.
2387 …* Use cgroups to get memory limits. This improves the way we set the memory ceiling for a Node.js …2390 …constrained. This change adds the ability to get a memory limit set by linux cgroups, which is use…