Re: Automatic renice

2003-07-23 Thread Christophe Courtois
Le Mardi 22 Juillet 2003 02:41, Johannes Zarl a déclamé : > The program ``pidof'' could help you in getting the list of > xmms-processes: $ pidof xmms Thanks, that will make my scripts trivial to make :-) -- Christophe Courtois - Ostwald, Alsace, France http://www.courtois.cc/ - Clé PGP : 0F33E

Re: Automatic renice

2003-07-21 Thread Johannes Zarl
Sorry, I don't know of any other way to automatically start a process with a given priority other than ``nice -n 10 xmms''. > As a last solution, I'd cron a script as root to renice automatically, > but I can't obtain a list of the xmms processes (' ps -A | grep xmms | > awk "{print $1}" ' gives

Re: Automatic renice

2003-07-21 Thread Stephen Patterson
On Mon, 21 Jul 2003 22:20:09 +0200, Christophe Courtois wrote: > Do you know a way to set the niceness of a process without typing renice > at the command line after each reboot? Especially when renicing to -10, > which needs to be root... Well, you can set the nice value a program runs under