cgroup的测试数据
[root@xxxx /cgroup/memory/rule3021]
#cat memory.limit_in_bytes
503316480 480M
[root@xxxx /cgroup/memory/rule3021]
#cat memory.memsw.limit_in_bytes
503316480 480M
[root@xxxx /cgroup/memory/rule3021]
#cat memory.usage_in_bytes
272285696 259M
[root@xxxx /cgroup/memory/rule3021]
#cat memory.memsw.usage_in_bytes
272285696
把mysqld进程kill了之后,
[root@xxxx /cgroup/memory/rule3021]
#cat memory.usage_in_bytes
209489920 199M
[root@xxxx /cgroup/memory/rule3021]
#cat memory.memsw.usage_in_bytes
209489920 199M