timeout
timeout copied to clipboard
A script to measure and limit CPU time and memory consumption of black-box processes in Linux
I was using timeout in bibisect script where "good" was hangup CPU ( --detect-hangups ) and "bad" timeout CPU (set at 75 of CPU). Result of a script is error...
`./timeout some-command arg1 arg2` is cool. Being able to `Pshved::timeout('some-command', 'arg1', 'arg2');` would be cooler!
Since you mentioned in readme... > ## Note: CGroups > > Linux now supports the CGroups feature, which is a much better method to track > memory and time usage...
I input: ``` $ /usr/local/bin/timeout -t 2 perl -e 'while ($i
Any chance of changing the name of the script? Currently it collides with `timeout` coreutil.
$ timeout/timeout -m 1000000 ./a.out ps: illegal argument: f usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]] [-g grp[,grp...]] [-u [uid,uid...]] [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]] ps...
I have a program that reads stdin to process something and i want to monitor its resource usage. However, cat /some/file | perl memlimit --detect-hangups -c -m 1000000 -t 10...
Hi, I don't know if this is an issue with this script, but when you execute a shell script with sleep {sleep_time} in it, then the timeout does not terminate...