Help - Search - Member List - Calendar
Full Version: Can Perl 'nice' a process?
WorkTheWeb Forums > Webmaster Resources > Perl Beginner Help
Support our Sponsors!
Dave Kettmann
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
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
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


PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2006 Invision Power Services, Inc.