Bonnie++ adds the facility to test more than 2G of storage on a 32bit machine, and tests for file creat(), stat(), unlink() operations.
bonnie++ -r $(
free
-m |
awk
'/^Mem/{print $2}'
) -s $(
echo
$(
free
-m |
awk
'/^Mem/{print $2}'
)*2|
bc
)