Lines Matching full:usage
6 # Usage
13 # 2) Check that sum ltp_test/subgroup*/cpuacct.usage = ltp_test/cpuacct.usage
19 TST_USAGE=usage
29 usage() function
32 usage: $0 nsubgroup nprocess
105 tmp=`cat $testpath/subgroup_$i/cpuacct.usage`
112 ## check that cpuacct.usage != 0 for every subgroup
114 tst_res TFAIL "cpuacct.usage is not equal to 0 for $fails subgroups"
116 tst_res TPASS "cpuacct.usage is not equal to 0 for every subgroup"
119 ## check that ltp_subgroup/cpuacct.usage == sum ltp_subgroup/subgroup*/cpuacct.usage
120 ref=`cat $testpath/cpuacct.usage`
122 tst_res TFAIL "cpuacct.usage $ref not equal to subgroup*/cpuacct.usage $acc"
124 tst_res TPASS "cpuacct.usage equal to subgroup*/cpuacct.usage"