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

 

posted @ 2015-08-18 23:15  yuyue2014  阅读(271)  评论(0编辑  收藏  举报