runlim

Sample and limit time and memory usage of a program and its child processes using the proc file system on Linux. More information: http://fmv.jku.at/runlim.

runlim command command_arguments

runlim --output-file=path/to/file command command_arguments

runlim --time-limit=number command command_arguments

runlim --real-time-limit=number command command_arguments

runlim --space-limit=number command command_arguments