> -g needs a process *group* id, which is something else again. Try using
> -p instead.

Ooh.. I thought a process group was a process and all its sub-processes.. It 
appears to be true in most cases at least..

The problem here is that most java apps spawns dozen of processes.. I do not 
want to renice them one by one... So the best idea is probably to run it with 
nice, so no need to renice..

# nice --5 someJavaApp
nice: cannot set priority: Permission denied

Seems I need to be root to run a program with higher priority, which is 
understandable... But in my case it is a complete nuisance..

So, as root I tried to run:

# nice --5 su - cedric -c someJavaApp

It did run the java app under my username, but with a nice level of 0, not -5 
as expected.


Cedric

--
[EMAIL PROTECTED] mailing list

Reply via email to