Wei Xing wrote: > Hi, Eric, > > Thanks. > > Do you mean to comment these lines? > > if (/state = free/){ > $state="free"; > }elsif(/state =/){ > undef $state; > } > Not really, find on attach my version of the script who works fine on my site : good FreeCPU value and good GlueCEStateWaitingJobs value Eric > BTW, If sometimes the job wait in a queue very long time, do not send > to worker nodes even the worker nodes are really "FREE", how to fix it? > > Thanks again, > > Wei -- -------------------------------------------------------------- FEDE ERIC Mail : [log in to unmask] CPPM Mail : [log in to unmask] 163 Av de Luminy case 902 Tel : (+33) (0)4 91 82 76 41 13288 Marseille Cedex 9 France Fax : (+33) (0)4 91 82 72 99 --------------------------------------------------------------