On 12-02-10 04:49 PM, gregor herrmann wrote:
On Sat, 24 Dec 2011 13:48:41 +0100, Leen Besselink wrote:

I've found there is a simple way which works for many commands which run from 
cron.
Thanks for the idea, and sorry for missing to reply for so long!

I've now forwarded your proposal to upstream.

Cheers,
gregor


The original bug seemed to suggest cpulimit runs commands in a similar fashion to the nice command. I think this is a mis-reading of the documentation. CPUlimit can be used to throttle programs already running by their name, but does not launch a program itself.

The proposed suggestion of using
/usr/bin/somecommand --argument &
cpulimit -l 50 -p $1

Is definitely the correct method of launching and throttling a command at the same time. I will add this to the manual page for the next release to avoid confusion. Thank you for passing this along.

Jesse





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to