run_memctl_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -uNr ltp-full-20090731/testcases/kernel/controllers/memctl/run_memctl_test.sh ltp-full-20090731.new/testcases/kernel/controllers/memctl/run_memctl_test.sh --- ltp-full-20090731/testcases/kernel/controllers/memctl/run_memctl_test.sh 2009-08-25 16:21:47.298273822 -0400 +++ ltp-full-20090731.new/testcases/kernel/controllers/memctl/run_memctl_test.sh 2009-08-25 16:41:57.606201495 -0400 @@ -323,7 +323,7 @@ check_mem_allocated;# $MEM_TOTAL; # now we can check the memory usage from both files USAGE_FROM_STAT=`cat /dev/memctl/group_1/memory.stat \ - | grep -w "active" | cut -d" " -f2`; + | grep -w "rss" | cut -d" " -f2`; if [ $USAGE_FROM_USAGE_IN_BYTES -eq $USAGE_FROM_STAT ] then echo "memory usage from memory.usage_in_bytes= $USAGE_FROM_USAGE_IN_BYTES"; @@ -360,7 +360,7 @@ # now we can check the memory usage from both files USAGE_FROM_STAT=`cat /dev/memctl/group_1/memory.stat \ - | grep -w "active" | cut -d" " -f2`; + | grep -w "rss" | cut -d" " -f2`; if [ $USAGE_FROM_USAGE_IN_BYTESGRP1_MEMUSAGE -eq $USAGE_FROM_STAT ] \ && [ $FIRST_STEP_PASS -eq 1 ] then