[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] perl nice'ness
- Subject: [ale] perl nice'ness
- From: yahoo at jimpop.com (Jim Popovitch)
- Date: Sun Oct 7 02:34:28 2007
- In-reply-to: <[email protected]>
- References: <1191734659.26032.4.camel@localhost> <[email protected]>
On Sun, 2007-10-07 at 01:48 -0400, List wrote:
> Jim Popovitch wrote:
> > Is there a way to make perl scripts run nicer wrt to cpu utilization,
> > rather than at the default 0 nice?
> >
> > Thx,
> >
> > -Jim P.
> >
> nice -19 perl <args>
>
> or, if the script is already running,
>
> renice 19 <process-id-of-perl>
>
> ought to fix you up.
Well, I already know that... what I'm looking for is a way to
force /usr/bin/blah.pl to always be nice 10 regardless of who runs it.
Thanks.
-Jim P.