/usr/lib/ltp/runtest/mm is in ltp-kernel-test 20091231+dfsg-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | #DESCRIPTION:Memory Mgmt tests
mm01 mmap001 -m 10000
# 40 Mb mmap() test.
# Creates a 10000 page mmap, touches all of the map, sync's it, and
# munmap()s it.
mm02 mmap001
# simple mmap() test.
#mm03 mmap001 -i 0 -I 1 -m 100
# repetitive mmapping test.
# Creates a one page map repetitively for one minute.
mtest01 mtest01 -p80
mtest01w mtest01 -p80 -w
#test for race conditions
mtest05 mmstress
mtest06 mmap1 -x 0.05
mtest06_2 mmap2 -x 0.002 -a -p
mtest06_3 mmap3 -x 0.002 -p
# Remains diabled till the infinite loop problem is solved
#mtest-6_4 shmat1 -x 0.00005
mem01 mem01
mem02 mem02
mem03 mem03
page01 page01
page02 page02
data_space data_space
stack_space stack_space
shmt02 shmt02
shmt03 shmt03
shmt04 shmt04
shmt05 shmt05
shmt06 shmt06
shmt07 shmt07
shmt08 shmt08
shmt09 shmt09
shmt10 shmt10
shm_test01 shm_test -l 10 -t 2
mallocstress01 mallocstress
mmapstress01 mmapstress01 -p 20 -t 0.2
mmapstress02 mmapstress02
mmapstress03 mmapstress03
mmapstress04 TMPFILE=`mktemp /tmp/example.XXXXXXXXXX`; ls -lR /usr/include/ > $TMPFILE; mmapstress04 $TMPFILE
mmapstress05 mmapstress05
mmapstress06 mmapstress06 20
mmapstress07 TMPFILE=`mktemp /tmp/example.XXXXXXXXXXXX`; mmapstress07 $TMPFILE
mmapstress08 mmapstress08
mmapstress09 mmapstress09 -p 20 -t 0.2
mmapstress10 mmapstress10 -p 20 -t 0.2
|