> 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.
so basically you ran su with a nice level of -5 ?
/John
--
[EMAIL PROTECTED] mailing list
> -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 r
Hi,
I am trying to speed up these java apps... I thought increasing their
priority to give them more CPU time could help..
# pstree -p
init(1)-+-agetty(1354)
|---java(16123)---java(16124)-+-java(16125)
# renice -10 -g 16123
renice: 16123: getpriority: No such process
# renice -1