awohld has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; # What's my priority level? my $pri = getpriority(0, 0); print "My priority level is: $pri\n"; # Set priority level 6 for this script. setpriority(0, 0, 6); # What's my new priority level? $pri = getpriority(0, 0); print "My priority level is: $pri\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Altering scripts execution priority level from within a script.
by ambrus (Abbot) on Jun 11, 2006 at 17:03 UTC | |
|
Re: Altering scripts execution priority level from within a script.
by zentara (Cardinal) on Jun 12, 2006 at 12:14 UTC |