2 ms·
Or, simpler, use watch: watch -n 17 -p command Make a wrapper to run command in the background (&) if the process runtime is greater than your interval.
by moeffju 16y ago
Or, simpler, use watch:
watch -n 17 -p command
Make a wrapper to run command in the background (&) if the process runtime is greater than your interval.