HomeSort by relevance Sort by last modified time
    Searched full:cgroup (Results 1 - 25 of 281) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/iptables/extensions/
libxt_cgroup.t 3 -m cgroup --cgroup 1;=;OK
4 -m cgroup ! --cgroup 1;=;OK
5 -m cgroup --path "/";=;OK
6 -m cgroup ! --path "/";=;OK
7 -m cgroup --cgroup 1 --path "/";;FAIL
8 -m cgroup ;;FAIL
libxt_cgroup.man 5 Each socket is associated with the v2 cgroup of the creating process.
10 [\fB!\fP] \fB\-\-cgroup\fP \fIclassid\fP
11 Match cgroup net_cls classid.
13 classid is the marker set through the cgroup net_cls controller. This
18 iptables \-A OUTPUT \-p tcp \-\-sport 80 \-m cgroup ! \-\-path service/http-server \-j DROP
20 iptables \-A OUTPUT \-p tcp \-\-sport 80 \-m cgroup ! \-\-cgroup 1
23 \fBIMPORTANT\fP: when being used in the INPUT chain, the cgroup
libxt_cgroup.c 13 "cgroup match options:\n"
14 "[!] --cgroup classid Match cgroup classid\n");
20 "cgroup match options:\n"
22 "[!] --cgroup classid Match cgroup classid, can't be used with --path\n");
27 .name = "cgroup",
45 .name = "cgroup",
88 printf(" cgroup %s%u", info->invert ? "! ":"", info->id);
95 printf("%s --cgroup %u", info->invert ? " !" : "", info->id)
    [all...]
  /external/autotest/client/tests/cgroup/
control 2 NAME = "Cgroup"
12 job.run_test('cgroup')
cgroup_common.py 4 Helpers for cgroup testing.
15 class Cgroup(object):
17 Cgroup handling class.
22 @param module: Name of the cgroup module
34 @param modules: Array of all available cgroup modules.
48 Creates new temporary cgroup
49 @param root: where to create this cgroup (default: self.root)
54 pwd = mkdtemp(prefix='cgroup-', dir=root) + '/'
56 pwd = mkdtemp(prefix='cgroup-', dir=self.root) + '/'
65 Removes cgroup
    [all...]
  /external/iproute2/man/man8/
tc-cgroup.8 1 .TH "Cgroup classifier in tc" 8 " 21 Oct 2015" "iproute2" "Linux"
4 cgroup \- control group based traffic control filter
8 .BR tc " " filter " ... " cgroup " [ " match
31 cgroup named "foobar":
36 mkdir /sys/fs/cgroup/net_cls
37 mount -t cgroup -onet_cls net_cls /sys/fs/cgroup/net_cls
38 mkdir /sys/fs/cgroup/net_cls/foobar
42 To assign a class ID to the created cgroup, a file named
51 assigns class ID 1:2 to foobar cgroup
    [all...]
  /external/ltp/testcases/kernel/controllers/io-throttle/
io_throttle_testplan.txt 14 Based on the physical I/O bandwidth three cgroups are created: cgroup-1,
15 cgroup-2, cgroup-3. Cgroups use respectively the following I/O bandwidth
17 - cgroup-1: physical-io-bw / 2
18 - cgroup-2: physical-io-bw / 4
19 - cgroup-3: physical-io-bw / 8
24 - 1 single stream per cgroup using leaky-bucket I/O throttling
25 - 1 single stream per cgroup using token-bucket I/O throttling
26 - 2 parallel streams per cgroup using leaky-bucket I/O throttling
27 - 2 parallel streams per cgroup using token-bucket I/O throttlin
    [all...]
myfunctions-io.sh 30 mount -t cgroup -o blockio cgroup /dev/blockioctl
32 echo "ERROR: could not mount cgroup filesystem " \
38 if [ -e /dev/blockioctl/cgroup-$i ]; then
39 rmdir /dev/blockioctl/cgroup-$i
40 echo "WARN: earlier cgroup-$i found and removed"
42 mkdir /dev/blockioctl/cgroup-$i
44 echo "ERROR: could not create cgroup-$i" \
56 rmdir /dev/blockioctl/cgroup-$i
57 rm -f /tmp/cgroup-$i.ou
    [all...]
  /external/ltp/testcases/kernel/controllers/cgroup/
README 3 The directory cgroup contains the tests related to control groups.
test_9_1.sh 28 # mount -t cgroup -o debug xxx cgroup/ > /dev/null 2>&1
29 mount -t cgroup xxx cgroup/ > /dev/null 2>&1
30 cat cgroup/release_agent > /dev/null 2>&1
31 umount cgroup/ > /dev/null 2>&1
cgroup_regression_test.sh 95 # time cat /cgroup/tasks (should be the very first time to read
96 # /cgroup/tasks, otherwise this bug won't be triggered)
108 mount -t cgroup -o none,name=foo cgroup cgroup/
110 tst_resm TFAIL "failed to mount cgroup filesystem"
115 cat cgroup/tasks > /dev/null
124 umount cgroup/
128 # Bug: a cgroup's notify_on_release flag did not inherit from its parent.
135 mount -t cgroup -o none,name=foo cgroup cgroup
    [all...]
test_10_1.sh 28 mount -t cgroup xxx cgroup/ > /dev/null 2>&1
29 mkdir cgroup/0 > /dev/null 2>&1
30 rmdir cgroup/0 > /dev/null 2>&1
31 umount cgroup/ > /dev/null 2>&1
test_9_2.sh 28 # mount -t cgroup -o debug xxx cgroup/ > /dev/null 2>&1
29 mount -t cgroup xxx cgroup/ > /dev/null 2>&1
30 umount cgroup/ > /dev/null 2>&1
test_10_2.sh 28 mount -t cgroup xxx cgroup/ > /dev/null 2>&1
29 umount cgroup/ > /dev/null 2>&1
test_6_1.sh 28 mount -t cgroup -o ns xxx cgroup/ > /dev/null 2>&1
29 rmdir cgroup/[1-9]* > /dev/null 2>&1
30 umount cgroup/ > /dev/null 2>&1
  /system/sepolicy/prebuilts/api/26.0/public/
inputflinger.te 16 r_dir_file(inputflinger, cgroup)
  /system/sepolicy/public/
inputflinger.te 16 r_dir_file(inputflinger, cgroup)
hal_cas.te 18 r_dir_file(hal_cas, cgroup)
19 allow hal_cas cgroup:dir { search write };
20 allow hal_cas cgroup:file w_file_perms;
  /external/autotest/client/site_tests/platform_ChromeCgroups/
platform_ChromeCgroups.py 11 CGROUP_DIR = '/sys/fs/cgroup/cpu/chrome_renderers'
20 Returns the set of tasks in a cgroup.
22 @param cgroup_dir Directory containing the cgroup.
30 logging.info('tasks in cgroup %s: %s', cgroup_dir, ','.join(tasks))
39 # Make sure the cgroup directories actually exist.
41 raise error.TestFail('chrome_renderers cgroup does not exist')
43 raise error.TestFail('foreground cgroup does not exist')
45 raise error.TestFail('background cgroup does not exist')
58 raise error.TestFail('no tasks in foreground cgroup')
60 raise error.TestFail('no tasks in background cgroup')
    [all...]
  /external/lisa/tools/scripts/
cgroup_run_into.sh 21 CGMOUNT=${CGMOUNT:-/sys/fs/cgroup/devlib_*}
33 echo $$ > $CGPATH/cgroup.procs
34 echo "Moving task into root CGroup ($CGPATH)"
37 # Execution under specified CGroup
40 # Check if the required CGroup exists
44 echo "ERROR: could not find any $CGP cgroup under $CGMOUNT"
52 echo $$ > $CGPATH/cgroup.procs
  /external/devlib/devlib/module/
cgroups.py 47 self.logger = logging.getLogger('CGroup.'+self.kind)
69 target.execute('mount -t cgroup -o {} {} {}'\
89 self.cgroup('/')
91 def cgroup(self, name): member in class:Controller
93 raise RuntimeError('CGroup creation failed: {} controller not mounted'\
96 self._cgroups[name] = CGroup(self, name)
101 raise RuntimeError('CGroup creation failed: {} controller not mounted'\
104 self._cgroups[name] = CGroup(self, name, create=False)
119 self.logger.debug('Populate %s cgroup: %s', self.kind, cg)
136 Move all the tasks to the specified CGroup
    [all...]
  /external/fio/
cgroup.c 2 * Code related to setting up a blkio cgroup
11 #include "cgroup.h"
36 if (!strcmp(mnt->mnt_type, "cgroup") &&
44 log_err("fio: cgroup blkio does not appear to be mounted\n");
61 log_err("fio: failed to allocate cgroup member\n");
104 if (td->o.cgroup)
105 sprintf(str, "%s/%s", mnt, td->o.cgroup);
136 return write_int_to_file(td, root, "tasks", val, "cgroup write pid");
165 td_verror(td, __e, "cgroup mkdir");
175 "cgroup open weight")
    [all...]
  /external/libnl/lib/cli/cls/
cgroup.c 2 * lib/cli/cls/cgroup.c cgroup classifier module for CLI lib
15 #include <netlink/route/cls/cgroup.h>
20 "Usage: nl-cls-add [...] cgroup [OPTIONS]...\n"
27 " nl-cls-add --dev=eth0 --parent=q_root cgroup\n");
62 .tm_name = "cgroup",
  /external/devlib/devlib/bin/scripts/
shutils.in 81 CGROUP="$1"
85 ls $CGROUP/$CONTROLLER\.* 2>&1 >/dev/null
89 $GREP '' $CGROUP/* | \
91 $SED -e "s|$CONTROLLER\.||" -e "s|$CGROUP/||"
96 $FIND $CGROUP -type f -maxdepth 1 |
97 $GREP -v -e ".*tasks" -e ".*cgroup\..*") | \
98 $SED "s|$CGROUP/||"
105 CGMOUNT=${CGMOUNT:-/sys/fs/cgroup}
118 echo $$ > $CGPATH/cgroup.procs
119 echo "Moving task into root CGroup ($CGPATH)
    [all...]
  /external/ltp/testcases/kernel/controllers/cgroup_xattr/
README 4 attributes in cgroup filesystem.
17 The aim of the tests is to check the extended attributes in cgroup
23 cgroup tmp directory and creates one more hierarchy. Then sets extended
24 attributes to all files in cgroup fs and subsequently reads the file's

Completed in 1494 milliseconds

1 2 3 4 5 6 7 8 91011>>