> Well as for monitoring, the nice value will not change unless it is > reset by a user. As for setting it you'll want to look into the > program /bin/nice.
Also, look into 'renice' to change the priority of a running process, and look into 'top' for monitoring. And to change it from within a script, see the setpriority command. >From the Prog. Perl book: <quote> To "nice" your process down by four units (the same as executing your program with nice(1)), try: setpriority 0, 0, getpriority(0,0) + 4; </quote> ---Larry +------------------------------------------------------------------------+ | Larry Coffin, G.P.H. Watertown, MA | | http://www.PointInfinity.com/lcoffin/ [EMAIL PROTECTED] | +------------------------------------------------------------------------+ Love is the triumph of imagination over intelligence. -- H. L. Mencken - -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]