Message boards : Number crunching : Changing schduling parameters on Linux for GPUgrid
Author | Message |
---|---|
Does anyone know how to find the PID of the gpugrid tasks via ps?(or get boinc to start gpugrid with a different pgid?) I'm trying to either renice the gpugrid tasks to a higher priority or set other projects to idle class priority but I'm having trouble getting the PID via script. | |
ID: 27832 | Rating: 0 | rate: / Reply Quote | |
Does anyone know how to find the PID of the gpugrid tasks via ps?(or get boinc to start gpugrid with a different pgid?) I'm trying to either renice the gpugrid tasks to a higher priority or set other projects to idle class priority but I'm having trouble getting the PID via script. gpugrid tasks don't have one global PID so you'll have to hunt down for the PID each time a gpugrid task is started. They usually carry the name "acemd" and "acemdlong", iirc (I don't crunch anymore for gpugrid so these names are off the top of my head). If you run "top" while a gpugrid task is running, you can easily get its PID top -b -n 1 | grep acemd | awk '{print $1}' you can also do it with ps, by displaying the running processes ps auxr | grep acemd | awk '{print $2}' ____________ Team Belgium | |
ID: 27833 | Rating: 0 | rate: / Reply Quote | |
Thanks the top example worked but the ps didn't for some reason. What I ended up doing was putting this in cron and it appears to be working perfectly. | |
ID: 27834 | Rating: 0 | rate: / Reply Quote | |
Message boards : Number crunching : Changing schduling parameters on Linux for GPUgrid