From: <er...@he...> - 2004-03-09 21:06:19
|
On Tue, Mar 09, 2004 at 11:10:20PM +0900, Kimitoshi Takahashi wrote: > Hello all, > > I want to change priorities of remote jobs on bproc slaves. > The normal "renice" command doesn't seem to affect priorities on slaves. > (by monitoring /proc/PID/stat) > > I tried to change priority of a proccess using bpsh. > > $ bpsh 1 -n sleep 9000 & > $ bpstat -p > PID Node > 17634 1 > $ bpsh 1 ps -ef > UID PID PPID C STIME TTY TIME CMD > ktaka 17634 17632 0 Mar25 ? 00:00:00 sleep 9000 > ktaka 17729 17727 0 Mar25 ? 00:00:00 ps -ef > > $ bpsh 1 renice 20 17634 > renice: 17634: getpriority: No such process > > How can I renice remote proccess? renice is one of those syscalls I missed which means it doesn't do the process ID mapping on the remote node or get forwarded correctly... - Erik |