2 # this script execute N times the command CMD
3 # collecting the memory usage on a file.
4 # The value of the Dirty memory should not increase
9 CMD1="/sbin/insmod ../dummynet2/ipfw_mod.ko"
10 CMD2="/sbin/rmmod ipfw_mod"
13 # remove any previous loaded module
21 [ $n = 10 ] && cat /proc/meminfo > /tmp/${BASE_NAME}_${n}
22 [ $n = 100 ] && cat /proc/meminfo > /tmp/${BASE_NAME}_${n}
23 [ $n = 1000 ] && cat /proc/meminfo > /tmp/${BASE_NAME}_${n}