cgexec command examples
cgexec - run the task in given control groups
#cgexec -g *:test1 ls
runs command ls in control group test1 in all mounted controllers.
#cgexec -g cpu,memory:test1 ls -l
runs command ls -l in control group test1 in controllers cpu and memory.
#cgexec -g cpu,memory:test1 -g swap:test2 ls -l
runs command ls -l in control group test1 in controllers cpu and memory and control group test2 in controller swap.