Dave Kettmann
Mar 4 2005, 08:31 PM
Im sure Perl can nice a process but I guess I dont know what the correct term is. I guess if I just start with the correct term I can discover how to use it. Then again, I may just have to 'nice' it in the shell. Any help is appreciated.
Thanks,
Dave Kettmann
NetLogic
314-266-400
1-888-MYNETLOGIC
John W. Krahn
Mar 5 2005, 06:34 AM
Dave Kettmann wrote:
QUOTE |
Im sure Perl can nice a process but I guess I dont know what the correct term is. I guess if I just start with the correct term I can discover how to use it. Then again, I may just have to 'nice' it in the shell.
|
There is nothing built in to Perl that will do this. You would have to either
call nice(2) through syscall() or call nice(1) or renice(8) through qx(),
system() or exec().
John
--
use Perl;
program
fulfillment
Gerhard Meier
Mar 5 2005, 07:23 PM
On Fri, Mar 04, 2005 at 02:31:11PM -0600, Dave Kettmann wrote:
QUOTE |
Im sure Perl can nice a process but I guess I dont know what the correct term is. I guess if I just start with the correct term I can discover how to use it. Then again, I may just have to 'nice' it in the shell. Any help is appreciated.
|
There is POSIX::nice(). For details see: perldoc POSIX
/GM
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.