Lines Matching refs:pids
6 # ./pids.sh caseno max
44 cgroup_require "pids"
45 cgroup_version=$(cgroup_get_version "pids")
46 testpath=$(cgroup_get_test_path "pids")
47 task_list=$(cgroup_get_task_list "pids")
110 ROD echo $max \> $testpath/pids.max
114 # should return 2 because the limit of pids is reached
133 ROD echo $lim \> $testpath/pids.max
154 ROD echo 0 \> $testpath/pids.max
166 echo -1 > $testpath/pids.max
177 tst_res TINFO "set a limit that is smaller than current number of pids"
181 ROD echo $lim \> $testpath/pids.max
207 ROD echo $max \> $testpath/pids.max
249 ROD echo $max \> $testpath/pids.max
251 ROD echo +pids \> "$testpath"/cgroup.subtree_control
256 ROD echo $lim \> $testpath/child/pids.max
281 ROD echo +pids \> "$testpath"/cgroup.subtree_control
285 ROD echo $max \> $testpath/child$i/pids.max
298 if [ $(cat "$testpath/child1/pids.current") -eq $((lim - 1)) ]; then
304 if [ $(cat "$testpath/child2/pids.current") -eq $((lim + 1)) ]; then