Date: Wed, 27 Sep 2000 10:40:59 -0500 From: Chris Cook <ccook@tcworks.net> To: Goblin <h0b_g0blin@yahoo.com> Cc: freebsd-isp@freebsd.org Subject: Re: Limiting Perl CPU Utilization... Message-ID: <39D2150B.6703C9F6@tcworks.net> References: <39D0D607.29DEDE19@tcworks.net> <20000926122303.A12707@uswest.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Goblin wrote: > > Why not just use nice? It doesn't limit the CPU, really, but makes it > easier for other processes to preempt the nicer process. OK, so how would I go about telling the .pl script to run nice -10 /usr/bin/perl /../cgi-bin/atdot/checkmail.pl instead of just /usr/bin/perl /../cgi-bin/atdot/checkmail.pl? Can I specify something at the top of the .pl script where it looks for /usr/bin/perl? Thanks! -- Chris o----< ccook@tcworks.net >-------------------------------------o |Chris Cook - Admin | TCWORKS.NET - http://www.tcworks.net | |The Computer Works ISP | FreeBSD - http://www.freebsd.org | o--------------------------------------------------------------o To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39D2150B.6703C9F6>
