Hi there,
I was wandering, if it is possible to nice set of process on user level.
Say, I have user1,user2
if user1 spawns 12 process and user2 spwans 15 process, Is there a way can I change the priority of any process started by user1 to 5 and viz-a-viz user2 to 20
Thanks in advance
You can change the nice level of a running process with 'renice', see 'man renice'.
You can only increase the nice level, and only for programs you own.
The superuser can set any process to any priority.
Hi,
thankx, so it can be done only for the running process . If I want for ANY process by a user it cannot be done right ?
I had assumed you already knew about the program for launching a process with a reduced priority since you were already using the term 'nice'. That's what the program for that is called -- 'nice'.
Nice one process, and it's children will also run at that priority level.