[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preset nice level



IA>> It there a way to tell the system to run any process that belongs to a
IA>> specific user to have a specific nice level?

renice -4 -u niceuser

IA>> Or alternatively, is there a way to tell the system to have a specific
IA>> nice level for a process name?

renice -4 `ps auxww | grep -v grep | grep process_name | awk '{print $1}'`
-- 
frodo@sharat.co.il	\/  There shall be counsels taken
Stanislav Malyshev	/\  Stronger than Morgul-spells
phone +972-3-9316425	/\  		JRRT LotR.
http://sharat.co.il/frodo/	whois:!SM8333




=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il